Subject: [RFC][PATCH] Get rid of dead code in net/ipv4/fib_semantics.c

From: Michal Piotrowski <[email-masked]>
Date: Tue, 31 Jul 2007 22:36:43 +0200

Hi,

File /home/devel/linux-rdc/net/ipv4/fib_semantics.c line 525
Unknown CONFIG option! CONFIG_IP_ROUTE_PERVASIVE

Regards,
Michal

-- 
LOG
http://www.stardust.webpages.pl/log/

Signed-off-by: Michal Piotrowski <[email-masked]>

--- linux-rdc-clean/net/ipv4/fib_semantics.c	2007-07-31 17:17:31.000000000 +0200
+++ linux-rdc/net/ipv4/fib_semantics.c	2007-07-31 18:22:54.000000000 +0200
@@ -522,10 +522,6 @@ static int fib_check_nh(struct fib_confi
 	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;