diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-15 13:34:22 -0400 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2013-04-29 15:41:46 -0400 |
commit | 25643165c3e35cae633afe8926d49c4e558e63d2 (patch) | |
tree | 6207301218405dd1a0fdf4f0a57ba053453fca2e /drivers/misc | |
parent | 70ab27ddb7ccb8d42a4e79730be5bcd7939851b6 (diff) |
lis3lv02d: don't wank with fasync() on ->release()
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'drivers/misc')
-rw-r--r-- | drivers/misc/lis3lv02d/lis3lv02d.c | 1 |
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) | |||
593 | struct lis3lv02d *lis3 = container_of(file->private_data, | 593 | struct lis3lv02d *lis3 = container_of(file->private_data, |
594 | struct lis3lv02d, miscdev); | 594 | struct lis3lv02d, miscdev); |
595 | 595 | ||
596 | fasync_helper(-1, file, 0, &lis3->async_queue); | ||
597 | clear_bit(0, &lis3->misc_opened); /* release the device */ | 596 | clear_bit(0, &lis3->misc_opened); /* release the device */ |
598 | if (lis3->pm_dev) | 597 | if (lis3->pm_dev) |
599 | pm_runtime_put(lis3->pm_dev); | 598 | pm_runtime_put(lis3->pm_dev); |