summaryrefslogtreecommitdiff
path: root/include/linux/net.h
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2020-05-27 20:22:29 +0200
committerDavid S. Miller <davem@davemloft.net>2020-05-27 15:11:33 -0700
commit7a15b2e013f535a125ad7351ffc808c79bc6de35 (patch)
treed6a4daa41899129ea82b20e0eafaa628455c261c /include/linux/net.h
parent0774dc7643db525f0bb9d0aa212cbfad3a412fc6 (diff)
net: remove kernel_getsockopt
No users left. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/net.h')
-rw-r--r--include/linux/net.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/net.h b/include/linux/net.h
index 6451425e828f..74ef5d7315f7 100644
--- a/include/linux/net.h
+++ b/include/linux/net.h
@@ -303,8 +303,6 @@ int kernel_connect(struct socket *sock, struct sockaddr *addr, int addrlen,
int flags);
int kernel_getsockname(struct socket *sock, struct sockaddr *addr);
int kernel_getpeername(struct socket *sock, struct sockaddr *addr);
-int kernel_getsockopt(struct socket *sock, int level, int optname, char *optval,
- int *optlen);
int kernel_setsockopt(struct socket *sock, int level, int optname, char *optval,
unsigned int optlen);
int kernel_sendpage(struct socket *sock, struct page *page, int offset,