summaryrefslogtreecommitdiffstats
path: root/net/iucv
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2018-07-30 09:42:10 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-30 09:10:25 -0700
commitdd979b4df817e9976f18fb6f9d134d6bc4a3c317 (patch)
treefffcfba952d7c3d86fbecaf5a14a213bd0d54967 /net/iucv
parent3f6bcc5162a1ba4e99e867364919168c1d821308 (diff)
downloadlinux-dd979b4df817e9976f18fb6f9d134d6bc4a3c317.tar.gz
linux-dd979b4df817e9976f18fb6f9d134d6bc4a3c317.tar.bz2
linux-dd979b4df817e9976f18fb6f9d134d6bc4a3c317.zip
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/iucv')
-rw-r--r--net/iucv/af_iucv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/iucv/af_iucv.c b/net/iucv/af_iucv.c
index 8d1c43f8fed4..92ee91e34395 100644
--- a/net/iucv/af_iucv.c
+++ b/net/iucv/af_iucv.c
@@ -1494,7 +1494,7 @@ __poll_t iucv_sock_poll(struct file *file, struct socket *sock,
struct sock *sk = sock->sk;
__poll_t mask = 0;
- sock_poll_wait(file, sk_sleep(sk), wait);
+ sock_poll_wait(file, wait);
if (sk->sk_state == IUCV_LISTEN)
return iucv_accept_poll(sk);