projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2eeeba3
)
[NET]: Remove unneeded ifdefs from sysctl_net_core.c
author
Pavel Emelyanov
<xemul@openvz.org>
Wed, 5 Dec 2007 09:36:23 +0000
(
01:36
-0800)
committer
David S. Miller
<davem@davemloft.net>
Mon, 28 Jan 2008 22:56:25 +0000
(14:56 -0800)
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>
net/core/sysctl_net_core.c
patch
|
blob
|
blame
|
history
diff --git
a/net/core/sysctl_net_core.c
b/net/core/sysctl_net_core.c
index 113cc728dc3190d90d493078aac5c02ab33f012f..277c8faaf732719685185e2abaec8e8611fdf293 100644
(file)
--- a/
net/core/sysctl_net_core.c
+++ b/
net/core/sysctl_net_core.c
@@
-13,8
+13,6
@@
#include <net/sock.h>
#include <net/xfrm.h>
-#ifdef CONFIG_SYSCTL
-
ctl_table core_table[] = {
#ifdef CONFIG_NET
{
@@
-151,5
+149,3
@@
ctl_table core_table[] = {
},
{ .ctl_name = 0 }
};
-
-#endif