summaryrefslogtreecommitdiff
path: root/net/core
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 /net/core
parent152524231023c76b3b7b3e71017c7f951812868d (diff)
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 'net/core')
-rw-r--r--net/core/sock.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/net/core/sock.c b/net/core/sock.c
index 6444525f610c..d471aa524b62 100644
--- a/net/core/sock.c
+++ b/net/core/sock.c
@@ -2567,12 +2567,6 @@ int sock_no_getname(struct socket *sock, struct sockaddr *saddr,
}
EXPORT_SYMBOL(sock_no_getname);
-__poll_t sock_no_poll(struct file *file, struct socket *sock, poll_table *pt)
-{
- return 0;
-}
-EXPORT_SYMBOL(sock_no_poll);
-
int sock_no_ioctl(struct socket *sock, unsigned int cmd, unsigned long arg)
{
return -EOPNOTSUPP;