diff options
author | 2010-03-18 23:00:22 +0000 | |
---|---|---|
committer | 2010-03-19 21:00:42 -0700 | |
commit | 10414444cb8a8ee8893e00390b7cf40502e28352 (patch) | |
tree | 90b956fb7070f022f6619acdcc53f684e3372658 /lib/kasprintf.c | |
parent | ipv4: check rt_genid in dst_check (diff) | |
download | wireguard-linux-10414444cb8a8ee8893e00390b7cf40502e28352.tar.xz wireguard-linux-10414444cb8a8ee8893e00390b7cf40502e28352.zip |
ipv6: Remove redundant dst NULL check in ip6_dst_check
As the only path leading to ip6_dst_check makes an indirect call
through dst->ops, dst cannot be NULL in ip6_dst_check.
This patch removes this check in case it misleads people who
come across this code.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'lib/kasprintf.c')
0 files changed, 0 insertions, 0 deletions