yurex: don't wank with fasync on ->release()...
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 15 Apr 2013 01:23:06 +0000 (21:23 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 29 Apr 2013 19:41:43 +0000 (15:41 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/usb/misc/yurex.c

index 42ad2e6d86c4c30cb08caa98fe9dfedd7249701c..b6ab515bfc6c0b1be593ed99e10e86391e012525 100644 (file)
@@ -407,8 +407,6 @@ static int yurex_release(struct inode *inode, struct file *file)
        if (dev == NULL)
                return -ENODEV;
 
-       yurex_fasync(-1, file, 0);
-
        /* decrement the count on our device */
        kref_put(&dev->kref, yurex_delete);
        return 0;