projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
PM / QoS: Remove redundant check
[cascardo/linux.git]
/
kernel
/
power
/
qos.c
diff --git
a/kernel/power/qos.c
b/kernel/power/qos.c
index
1c1797d
..
5167d99
100644
(file)
--- a/
kernel/power/qos.c
+++ b/
kernel/power/qos.c
@@
-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;
}