From: Al Viro Date: Mon, 15 Apr 2013 17:34:22 +0000 (-0400) Subject: lis3lv02d: don't wank with fasync() on ->release() X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=25643165c3e35cae633afe8926d49c4e558e63d2;p=openwrt%2Fstaging%2Fblogic.git lis3lv02d: don't wank with fasync() on ->release() Signed-off-by: Al Viro --- 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);