net/atm: convert to ->poll_mask
Signed-off-by: Christoph Hellwig <hch@lst.de>
This commit is contained in:
@@ -648,16 +648,11 @@ out:
|
||||
return error;
|
||||
}
|
||||
|
||||
__poll_t vcc_poll(struct file *file, struct socket *sock, poll_table *wait)
|
||||
__poll_t vcc_poll_mask(struct socket *sock, __poll_t events)
|
||||
{
|
||||
struct sock *sk = sock->sk;
|
||||
struct atm_vcc *vcc;
|
||||
__poll_t mask;
|
||||
|
||||
sock_poll_wait(file, sk_sleep(sk), wait);
|
||||
mask = 0;
|
||||
|
||||
vcc = ATM_SD(sock);
|
||||
struct atm_vcc *vcc = ATM_SD(sock);
|
||||
__poll_t mask = 0;
|
||||
|
||||
/* exceptional events */
|
||||
if (sk->sk_err)
|
||||
|
Reference in New Issue
Block a user