Merge "Revert "input: misc: hbtp_input: fix memory corruption in list""
This commit is contained in:
commit
7ed24b74a1
1 changed files with 0 additions and 4 deletions
|
@ -249,10 +249,6 @@ static int hbtp_input_release(struct inode *inode, struct file *file)
|
|||
return -ENOTTY;
|
||||
}
|
||||
hbtp->count--;
|
||||
if (!completion_done(&hbtp->power_suspend_sig))
|
||||
complete(&hbtp->power_suspend_sig);
|
||||
if (!completion_done(&hbtp->power_resume_sig))
|
||||
complete(&hbtp->power_resume_sig);
|
||||
if (hbtp->power_sig_enabled)
|
||||
hbtp->power_sig_enabled = false;
|
||||
mutex_unlock(&hbtp->mutex);
|
||||
|
|
Loading…
Add table
Reference in a new issue