Revert "net: simplify sock_poll_wait"
[linux-2.6-microblaze.git] / net / atm / common.c
index 9f8cb0d..a38c174 100644 (file)
@@ -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, wait);
+       sock_poll_wait(file, sock, wait);
        mask = 0;
 
        vcc = ATM_SD(sock);