diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/compat.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/net/compat.c b/net/compat.c index e055708b8ec9..242c828810ff 100644 --- a/net/compat.c +++ b/net/compat.c | |||
@@ -328,14 +328,6 @@ void scm_detach_fds_compat(struct msghdr *kmsg, struct scm_cookie *scm) | |||
328 | __scm_destroy(scm); | 328 | __scm_destroy(scm); |
329 | } | 329 | } |
330 | 330 | ||
331 | /* | ||
332 | * A struct sock_filter is architecture independent. | ||
333 | */ | ||
334 | struct compat_sock_fprog { | ||
335 | u16 len; | ||
336 | compat_uptr_t filter; /* struct sock_filter * */ | ||
337 | }; | ||
338 | |||
339 | static int do_set_attach_filter(struct socket *sock, int level, int optname, | 331 | static int do_set_attach_filter(struct socket *sock, int level, int optname, |
340 | char __user *optval, unsigned int optlen) | 332 | char __user *optval, unsigned int optlen) |
341 | { | 333 | { |