diff options
author | Christoph Hellwig <hch@lst.de> | 2018-07-30 10:42:10 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-07-30 19:10:25 +0300 |
commit | dd979b4df817e9976f18fb6f9d134d6bc4a3c317 (patch) | |
tree | fffcfba952d7c3d86fbecaf5a14a213bd0d54967 /crypto | |
parent | 3f6bcc5162a1ba4e99e867364919168c1d821308 (diff) | |
download | linux-dd979b4df817e9976f18fb6f9d134d6bc4a3c317.tar.xz |
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 'crypto')
-rw-r--r-- | crypto/af_alg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crypto/af_alg.c b/crypto/af_alg.c index c166f424871c..b053179e0bc5 100644 --- a/crypto/af_alg.c +++ b/crypto/af_alg.c @@ -1071,7 +1071,7 @@ __poll_t af_alg_poll(struct file *file, struct socket *sock, struct af_alg_ctx *ctx = ask->private; __poll_t mask; - sock_poll_wait(file, sk_sleep(sk), wait); + sock_poll_wait(file, wait); mask = 0; if (!ctx->more || ctx->used) |