summaryrefslogtreecommitdiffstats
path: root/drivers/net/ppp
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 /drivers/net/ppp
parent152524231023c76b3b7b3e71017c7f951812868d (diff)
downloadlinux-984652dd8b1f0998b9a181944ad5a00d06f9586f.tar.bz2
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 'drivers/net/ppp')
-rw-r--r--drivers/net/ppp/pptp.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ppp/pptp.c b/drivers/net/ppp/pptp.c
index c4267ecefd85..157b67c1bf8e 100644
--- a/drivers/net/ppp/pptp.c
+++ b/drivers/net/ppp/pptp.c
@@ -624,7 +624,6 @@ static const struct proto_ops pptp_ops = {
.socketpair = sock_no_socketpair,
.accept = sock_no_accept,
.getname = pptp_getname,
- .poll = sock_no_poll,
.listen = sock_no_listen,
.shutdown = sock_no_shutdown,
.setsockopt = sock_no_setsockopt,