diff options
Diffstat (limited to 'net/unix/af_unix.c')
-rw-r--r-- | net/unix/af_unix.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/net/unix/af_unix.c b/net/unix/af_unix.c index e5473c03d667..1772a0e32665 100644 --- a/net/unix/af_unix.c +++ b/net/unix/af_unix.c | |||
@@ -2635,7 +2635,7 @@ static __poll_t unix_poll(struct file *file, struct socket *sock, poll_table *wa | |||
2635 | struct sock *sk = sock->sk; | 2635 | struct sock *sk = sock->sk; |
2636 | __poll_t mask; | 2636 | __poll_t mask; |
2637 | 2637 | ||
2638 | sock_poll_wait(file, sk_sleep(sk), wait); | 2638 | sock_poll_wait(file, wait); |
2639 | mask = 0; | 2639 | mask = 0; |
2640 | 2640 | ||
2641 | /* exceptional events? */ | 2641 | /* exceptional events? */ |
@@ -2672,7 +2672,7 @@ static __poll_t unix_dgram_poll(struct file *file, struct socket *sock, | |||
2672 | unsigned int writable; | 2672 | unsigned int writable; |
2673 | __poll_t mask; | 2673 | __poll_t mask; |
2674 | 2674 | ||
2675 | sock_poll_wait(file, sk_sleep(sk), wait); | 2675 | sock_poll_wait(file, wait); |
2676 | mask = 0; | 2676 | mask = 0; |
2677 | 2677 | ||
2678 | /* exceptional events? */ | 2678 | /* exceptional events? */ |