e1000: unset IFF_UNICAST_FLT on WMware 82545EM
[cascardo/linux.git] / drivers / tty / tty_io.c
index 2f6f9b5..16a2c02 100644 (file)
@@ -2186,8 +2186,9 @@ static int __tty_fasync(int fd, struct file *filp, int on)
                }
                get_pid(pid);
                spin_unlock_irqrestore(&tty->ctrl_lock, flags);
-               retval = __f_setown(filp, pid, type, 0);
+               __f_setown(filp, pid, type, 0);
                put_pid(pid);
+               retval = 0;
        }
 out:
        return retval;