From: Christoph Egger Date: Wed, 3 Feb 2010 06:05:54 +0000 (+0000) Subject: ipv4: obsolete config in kernel source (IP_ROUTE_PERVASIVE) X-Git-Tag: upstream/snapshot3+hdmi~15536^2~414 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d088dde7b19628f386c486f16cd471f5b5682ca8;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git ipv4: obsolete config in kernel source (IP_ROUTE_PERVASIVE) CONFIG_IP_ROUTE_PERVASIVE is missing a corresponding config IP_ROUTE_PERVASIVE somewhere in KConfig (and missing it for ages already) so it looks like some aging artefact no longer needed. Therefor this patch kills of the only remaining reference to that config Item removing the already unrechable code snipet. Signed-off-by: Christoph Egger Signed-off-by: David S. Miller --- diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c index 96b2101..1af0ea0 100644 --- a/net/ipv4/fib_semantics.c +++ b/net/ipv4/fib_semantics.c @@ -528,10 +528,6 @@ static int fib_check_nh(struct fib_config *cfg, struct fib_info *fi, if (nh->nh_gw) { struct fib_result res; -#ifdef CONFIG_IP_ROUTE_PERVASIVE - if (nh->nh_flags&RTNH_F_PERVASIVE) - return 0; -#endif if (nh->nh_flags&RTNH_F_ONLINK) { struct net_device *dev;