lis3lv02d: don't wank with fasync() on ->release()
authorAl Viro <viro@zeniv.linux.org.uk>
Mon, 15 Apr 2013 17:34:22 +0000 (13:34 -0400)
committerAl Viro <viro@zeniv.linux.org.uk>
Mon, 29 Apr 2013 19:41:46 +0000 (15:41 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
drivers/misc/lis3lv02d/lis3lv02d.c

index 4a87e5c0a3200955e1889edfc441753655bc8b5a..4cd4a3d2a76aa868feba01b1b9a0ad1a7431cc99 100644 (file)
@@ -593,7 +593,6 @@ static int lis3lv02d_misc_release(struct inode *inode, struct file *file)
        struct lis3lv02d *lis3 = container_of(file->private_data,
                                              struct lis3lv02d, miscdev);
 
-       fasync_helper(-1, file, 0, &lis3->async_queue);
        clear_bit(0, &lis3->misc_opened); /* release the device */
        if (lis3->pm_dev)
                pm_runtime_put(lis3->pm_dev);