diff options
Diffstat (limited to 'include/net/af_unix.h')
-rw-r--r-- | include/net/af_unix.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/af_unix.h b/include/net/af_unix.h index 18e5c3f67580..91ab5b01678a 100644 --- a/include/net/af_unix.h +++ b/include/net/af_unix.h | |||
@@ -41,7 +41,6 @@ struct unix_skb_parms { | |||
41 | spin_lock_nested(&unix_sk(s)->lock, \ | 41 | spin_lock_nested(&unix_sk(s)->lock, \ |
42 | SINGLE_DEPTH_NESTING) | 42 | SINGLE_DEPTH_NESTING) |
43 | 43 | ||
44 | #ifdef __KERNEL__ | ||
45 | /* The AF_UNIX socket */ | 44 | /* The AF_UNIX socket */ |
46 | struct unix_sock { | 45 | struct unix_sock { |
47 | /* WARNING: sk has to be the first member */ | 46 | /* WARNING: sk has to be the first member */ |
@@ -72,4 +71,3 @@ static inline int unix_sysctl_register(struct net *net) { return 0; } | |||
72 | static inline void unix_sysctl_unregister(struct net *net) {} | 71 | static inline void unix_sysctl_unregister(struct net *net) {} |
73 | #endif | 72 | #endif |
74 | #endif | 73 | #endif |
75 | #endif | ||