diff options
author | Duan Jiong | 2013-10-30 08:39:26 +0100 |
---|---|---|
committer | David S. Miller | 2013-10-30 22:06:51 +0100 |
commit | ba4865027c11d7ac8e5a33e0624dd415caab2027 (patch) | |
tree | fe2a96ea102f20bea2dfb679d61b8fcfbd3e90fb /Documentation/networking/can.txt | |
parent | mac802154: Use pr_err(...) rather than printk(KERN_ERR ...) (diff) | |
download | kernel-qcow2-linux-ba4865027c11d7ac8e5a33e0624dd415caab2027.tar.gz kernel-qcow2-linux-ba4865027c11d7ac8e5a33e0624dd415caab2027.tar.xz kernel-qcow2-linux-ba4865027c11d7ac8e5a33e0624dd415caab2027.zip |
ipv6: remove the unnecessary statement in find_match()
After reading the function rt6_check_neigh(), we can
know that the RT6_NUD_FAIL_SOFT can be returned only
when the IS_ENABLE(CONFIG_IPV6_ROUTER_PREF) is false.
so in function find_match(), there is no need to execute
the statement !IS_ENABLED(CONFIG_IPV6_ROUTER_PREF).
Signed-off-by: Duan Jiong <duanj.fnst@cn.fujitsu.com>
Acked-by: Hannes Frederic Sowa <hannes@stressinduktion.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking/can.txt')
0 files changed, 0 insertions, 0 deletions