Skip to content

Commit

Permalink
ipv4: obsolete config in kernel source (IP_ROUTE_PERVASIVE)
Browse files Browse the repository at this point in the history
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 <siccegge@stud.informatik.uni-erlangen.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Christoph Egger authored and David S. Miller committed Feb 4, 2010
1 parent b0f83b2 commit d088dde
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/ipv4/fib_semantics.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down

0 comments on commit d088dde

Please sign in to comment.