diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-30 09:42:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-30 18:10:25 +0200 |
commit | dd979b4df817e9976f18fb6f9d134d6bc4a3c317 (patch) | |
tree | fffcfba952d7c3d86fbecaf5a14a213bd0d54967 /net/atm | |
parent | act_bpf: Use kmemdup instead of duplicating it in tcf_bpf_init_from_ops (diff) | |
download | linux-dd979b4df817e9976f18fb6f9d134d6bc4a3c317.tar.xz 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/atm')
-rw-r--r-- | net/atm/common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/atm/common.c b/net/atm/common.c index a7a68e509628..9f8cb0d2e71e 100644 --- a/net/atm/common.c +++ b/net/atm/common.c @@ -653,7 +653,7 @@ __poll_t vcc_poll(struct file *file, struct socket *sock, poll_table *wait) struct atm_vcc *vcc; __poll_t mask; - sock_poll_wait(file, sk_sleep(sk), wait); + sock_poll_wait(file, wait); mask = 0; vcc = ATM_SD(sock); |