diff options
Diffstat (limited to 'net/unix/af_unix.c')
| -rw-r--r-- | net/unix/af_unix.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index d403e34088ad..41feca3bef86 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
| @@ -105,7 +105,7 @@ | |||
| 105 | #include <linux/skbuff.h> | 105 | #include <linux/skbuff.h> |
| 106 | #include <linux/netdevice.h> | 106 | #include <linux/netdevice.h> |
| 107 | #include <net/sock.h> | 107 | #include <net/sock.h> |
| 108 | #include <linux/tcp.h> | 108 | #include <net/tcp_states.h> |
| 109 | #include <net/af_unix.h> | 109 | #include <net/af_unix.h> |
| 110 | #include <linux/proc_fs.h> | 110 | #include <linux/proc_fs.h> |
| 111 | #include <linux/seq_file.h> | 111 | #include <linux/seq_file.h> |
| @@ -2026,14 +2026,6 @@ static struct net_proto_family unix_family_ops = { | |||
| 2026 | .owner = THIS_MODULE, | 2026 | .owner = THIS_MODULE, |
| 2027 | }; | 2027 | }; |
| 2028 | 2028 | ||
| 2029 | #ifdef CONFIG_SYSCTL | ||
| 2030 | extern void unix_sysctl_register(void); | ||
| 2031 | extern void unix_sysctl_unregister(void); | ||
| 2032 | #else | ||
| 2033 | static inline void unix_sysctl_register(void) {} | ||
| 2034 | static inline void unix_sysctl_unregister(void) {} | ||
| 2035 | #endif | ||
| 2036 | |||
| 2037 | static int __init af_unix_init(void) | 2029 | static int __init af_unix_init(void) |
| 2038 | { | 2030 | { |
| 2039 | int rc = -1; | 2031 | int rc = -1; |
