forked from Minki/linux
comedi: quit wanking with FASYNC in ->release()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
This commit is contained in:
parent
e77e430033
commit
a44f52096c
@ -2317,9 +2317,6 @@ static int comedi_close(struct inode *inode, struct file *file)
|
||||
|
||||
mutex_unlock(&dev->mutex);
|
||||
|
||||
if (file->f_flags & FASYNC)
|
||||
comedi_fasync(-1, file, 0);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user