Skip to content

Commit

Permalink
[NET]: Remove unneeded ifdefs from sysctl_net_core.c
Browse files Browse the repository at this point in the history
This file is already compiled out when the SYSCTL=n, so
these ifdefs, that enclose the whole file, can be removed.

Signed-off-by: Pavel Emelyanov <xemul@openvz.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Pavel Emelyanov authored and David S. Miller committed Jan 28, 2008
1 parent 2eeeba3 commit 7e2e109
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/core/sysctl_net_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#include <net/sock.h>
#include <net/xfrm.h>

#ifdef CONFIG_SYSCTL

ctl_table core_table[] = {
#ifdef CONFIG_NET
{
Expand Down Expand Up @@ -151,5 +149,3 @@ ctl_table core_table[] = {
},
{ .ctl_name = 0 }
};

#endif

0 comments on commit 7e2e109

Please sign in to comment.