comedi: quit wanking with FASYNC in ->release()
authorAl Viro <viro@zeniv.linux.org.uk>
Sun, 16 Jun 2013 15:05:07 +0000 (19:05 +0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Sat, 29 Jun 2013 08:57:22 +0000 (12:57 +0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/staging/comedi/comedi_fops.c

index 924c54c9c31fad595d1cdf9331db17d8c40413f4..a9754e84eb8a3a8d5df8267db22456427fe9957b 100644 (file)
@@ -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;
 }