diff options
author | Joe Perches <joe@perches.com> | 2010-09-05 05:52:50 +0400 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2010-09-23 15:33:46 +0400 |
commit | 99a51792dbb7e6e39b2a4ebcfe202f1dcc7354c4 (patch) | |
tree | 8d6bec34001ba3166d802b7db27124a46e546523 | |
parent | 0c6d7d5da27df7ec586fc916f06136a6b7ad1f72 (diff) | |
download | linux-99a51792dbb7e6e39b2a4ebcfe202f1dcc7354c4.tar.xz |
kernel/pm_qos_params.c: Remove unnecessary casts of private_data
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
-rw-r--r-- | kernel/pm_qos_params.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/pm_qos_params.c b/kernel/pm_qos_params.c index 996a4dec5f96..49829c5b4b47 100644 --- 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; |