diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-30 03:42:10 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-30 12:10:25 -0400 |
commit | dd979b4df817e9976f18fb6f9d134d6bc4a3c317 (patch) | |
tree | fffcfba952d7c3d86fbecaf5a14a213bd0d54967 /net/tipc | |
parent | 3f6bcc5162a1ba4e99e867364919168c1d821308 (diff) |
net: simplify sock_poll_wait
The wait_address argument is always directly derived from the filp
argument, so remove it.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/tipc')
-rw-r--r-- | net/tipc/socket.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/tipc/socket.c b/net/tipc/socket.c index 3d21414ba357..3763bedecf5f 100644 --- a/net/tipc/socket.c +++ b/net/tipc/socket.c | |||
@@ -716,7 +716,7 @@ static __poll_t tipc_poll(struct file *file, struct socket *sock, | |||
716 | struct tipc_sock *tsk = tipc_sk(sk); | 716 | struct tipc_sock *tsk = tipc_sk(sk); |
717 | __poll_t revents = 0; | 717 | __poll_t revents = 0; |
718 | 718 | ||
719 | sock_poll_wait(file, sk_sleep(sk), wait); | 719 | sock_poll_wait(file, wait); |
720 | 720 | ||
721 | if (sk->sk_shutdown & RCV_SHUTDOWN) | 721 | if (sk->sk_shutdown & RCV_SHUTDOWN) |
722 | revents |= EPOLLRDHUP | EPOLLIN | EPOLLRDNORM; | 722 | revents |= EPOLLRDHUP | EPOLLIN | EPOLLRDNORM; |