Skip to content
Snippets Groups Projects
Commit 25643165 authored by Al Viro's avatar Al Viro
Browse files

lis3lv02d: don't wank with fasync() on ->release()


Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent 70ab27dd
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment