mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 09:34:17 +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…
x
Reference in New Issue
Block a user