forked from luck/tmp_suning_uos_patched
PM / QoS: Remove redundant check
Remove an "if" check, that repeats an equivalent one 6 lines above. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Signed-off-by: Rafael J. Wysocki <rjw@sisk.pl>
This commit is contained in:
parent
a96d69d1b0
commit
6513fd6972
|
@ -386,8 +386,7 @@ static int pm_qos_power_open(struct inode *inode, struct file *filp)
|
|||
pm_qos_add_request(req, pm_qos_class, PM_QOS_DEFAULT_VALUE);
|
||||
filp->private_data = req;
|
||||
|
||||
if (filp->private_data)
|
||||
return 0;
|
||||
return 0;
|
||||
}
|
||||
return -EPERM;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user