mirror of
https://github.com/torvalds/linux.git
synced 2024-11-12 07:01:57 +00:00
yurex: don't wank with fasync on ->release()...
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
f269cad7f4
commit
3dce1891f3
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user