projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c6d7d5
)
kernel/pm_qos_params.c: Remove unnecessary casts of private_data
author
Joe Perches
<joe@perches.com>
Sun, 5 Sep 2010 01:52:50 +0000
(18:52 -0700)
committer
Jiri Kosina
<jkosina@suse.cz>
Thu, 23 Sep 2010 11:33:46 +0000
(13:33 +0200)
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
kernel/pm_qos_params.c
patch
|
blob
|
history
diff --git
a/kernel/pm_qos_params.c
b/kernel/pm_qos_params.c
index 996a4dec5f968406aae7ef9b79240768da1ffddb..49829c5b4b478671368ec5f814970deda4eb1fc0 100644
(file)
--- a/
kernel/pm_qos_params.c
+++ b/
kernel/pm_qos_params.c
@@
-394,7
+394,7
@@
static ssize_t pm_qos_power_write(struct file *filp, const char __user *buf,
} else
return -EINVAL;
- pm_qos_req =
(struct pm_qos_request_list *)
filp->private_data;
+ pm_qos_req = filp->private_data;
pm_qos_update_request(pm_qos_req, value);
return count;