summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorAl Viro <viro@zeniv.linux.org.uk>2013-04-15 13:34:22 -0400
committerAl Viro <viro@zeniv.linux.org.uk>2013-04-29 15:41:46 -0400
commit25643165c3e35cae633afe8926d49c4e558e63d2 (patch)
tree6207301218405dd1a0fdf4f0a57ba053453fca2e /drivers
parent70ab27ddb7ccb8d42a4e79730be5bcd7939851b6 (diff)
downloadlwn-25643165c3e35cae633afe8926d49c4e558e63d2.tar.gz
lwn-25643165c3e35cae633afe8926d49c4e558e63d2.zip
lis3lv02d: don't wank with fasync() on ->release()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/misc/lis3lv02d/lis3lv02d.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/misc/lis3lv02d/lis3lv02d.c b/drivers/misc/lis3lv02d/lis3lv02d.c
index 4a87e5c0a320..4cd4a3d2a76a 100644
--- a/drivers/misc/lis3lv02d/lis3lv02d.c
+++ b/drivers/misc/lis3lv02d/lis3lv02d.c
@@ -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);