aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-04-09 15:26:26 +0200
committerChristoph Hellwig <hch@lst.de>2018-05-26 09:16:44 +0200
commit984652dd8b1f0998b9a181944ad5a00d06f9586f (patch)
tree2cb0354581a57d164d5aad34359aae00916c8a1d /include
parentnet: add support for ->poll_mask in proto_ops (diff)
downloadlinux-dev-984652dd8b1f0998b9a181944ad5a00d06f9586f.tar.xz
linux-dev-984652dd8b1f0998b9a181944ad5a00d06f9586f.zip
net: remove sock_no_poll
Now that sock_poll handles a NULL ->poll or ->poll_mask there is no need for a stub. Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'include')
-rw-r--r--include/net/sock.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sock.h b/include/net/sock.h
index 74d725fdbe0f..4d2e8ad98985 100644
--- a/include/net/sock.h
+++ b/include/net/sock.h
@@ -1591,8 +1591,6 @@ int sock_no_connect(struct socket *, struct sockaddr *, int, int);
int sock_no_socketpair(struct socket *, struct socket *);
int sock_no_accept(struct socket *, struct socket *, int, bool);
int sock_no_getname(struct socket *, struct sockaddr *, int);
-__poll_t sock_no_poll(struct file *, struct socket *,
- struct poll_table_struct *);
int sock_no_ioctl(struct socket *, unsigned int, unsigned long);
int sock_no_listen(struct socket *, int);
int sock_no_shutdown(struct socket *, int);