diff options
author | Christoph Hellwig <hch@lst.de> | 2020-07-17 08:23:26 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-07-20 03:16:41 +0200 |
commit | b6238c04c0e5dbe7ae4ea48e96e004905b120a04 (patch) | |
tree | 8d32716e5de35735c9201ad1f3b7177e581ba5ac /net/ipv4/udplite.c | |
parent | net/ipv4: factor out mcast join/leave setsockopt helpers (diff) | |
download | linux-b6238c04c0e5dbe7ae4ea48e96e004905b120a04.tar.xz linux-b6238c04c0e5dbe7ae4ea48e96e004905b120a04.zip |
net/ipv4: remove compat_ip_{get,set}sockopt
Handle the few cases that need special treatment in-line using
in_compat_syscall().
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv4/udplite.c')
-rw-r--r-- | net/ipv4/udplite.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/ipv4/udplite.c b/net/ipv4/udplite.c index 5936d66d1ce2..bd8773b49e72 100644 --- a/net/ipv4/udplite.c +++ b/net/ipv4/udplite.c @@ -56,10 +56,6 @@ struct proto udplite_prot = { .sysctl_mem = sysctl_udp_mem, .obj_size = sizeof(struct udp_sock), .h.udp_table = &udplite_table, -#ifdef CONFIG_COMPAT - .compat_setsockopt = compat_udp_setsockopt, - .compat_getsockopt = compat_udp_getsockopt, -#endif }; EXPORT_SYMBOL(udplite_prot); |