Commit 3dce1891 authored by Al Viro's avatar Al Viro

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

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent f269cad7
...@@ -407,8 +407,6 @@ static int yurex_release(struct inode *inode, struct file *file) ...@@ -407,8 +407,6 @@ static int yurex_release(struct inode *inode, struct file *file)
if (dev == NULL) if (dev == NULL)
return -ENODEV; return -ENODEV;
yurex_fasync(-1, file, 0);
/* decrement the count on our device */ /* decrement the count on our device */
kref_put(&dev->kref, yurex_delete); kref_put(&dev->kref, yurex_delete);
return 0; return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment