Skip to contentSkip to conversation

Get rid of dead code in net/ipv4/fib_semantics.c

RFC PATCH New Michal Piotrowski 1 participant 1 message Jul 31, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 Get rid of dead code in net/ipv4/fib_semantics.c

Hi,

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

Regards,
Michal

Signature · 17 lines
LOG
http://www.stardust.webpages.pl/log/

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

--- 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;