mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 03:01:39 -04:00
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 <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
3f6bcc5162
commit
dd979b4df8
13 changed files with 19 additions and 18 deletions
|
|
@ -325,7 +325,7 @@ __poll_t dccp_poll(struct file *file, struct socket *sock,
|
|||
__poll_t mask;
|
||||
struct sock *sk = sock->sk;
|
||||
|
||||
sock_poll_wait(file, sk_sleep(sk), wait);
|
||||
sock_poll_wait(file, wait);
|
||||
if (sk->sk_state == DCCP_LISTEN)
|
||||
return inet_csk_listen_poll(sk);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue