提交 99a51792 编写于 作者: J Joe Perches 提交者: Jiri Kosina

kernel/pm_qos_params.c: Remove unnecessary casts of private_data

Signed-off-by: NJoe Perches <joe@perches.com>
Signed-off-by: NJiri Kosina <jkosina@suse.cz>
上级 0c6d7d5d
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册