From: Duan Jiong Date: Wed, 30 Oct 2013 07:39:26 +0000 (+0800) Subject: ipv6: remove the unnecessary statement in find_match() X-Git-Tag: v3.13-rc1~105^2~92 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ba4865027c11d7ac8e5a33e0624dd415caab2027;p=pandora-kernel.git 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 Acked-by: Hannes Frederic Sowa Signed-off-by: David S. Miller --- Reading git-diff-tree failed