yurex: don't wank with fasync on ->release()...

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
Al Viro 2013-04-14 21:23:06 -04:00
parent f269cad7f4
commit 3dce1891f3

View 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;