Skip to content

Commit

Permalink
kernel/pm_qos_params.c: Remove unnecessary casts of private_data
Browse files Browse the repository at this point in the history
Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
  • Loading branch information
Joe Perches authored and Jiri Kosina committed Sep 23, 2010
1 parent 0c6d7d5 commit 99a5179
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/pm_qos_params.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 99a5179

Please sign in to comment.