Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 99a51792 authored by Joe Perches's avatar Joe Perches Committed by Jiri Kosina
Browse files

kernel/pm_qos_params.c: Remove unnecessary casts of private_data



Signed-off-by: default avatarJoe Perches <joe@perches.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 0c6d7d5d
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -394,7 +394,7 @@ static ssize_t pm_qos_power_write(struct file *filp, const char __user *buf,
	} else
	} else
		return -EINVAL;
		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);
	pm_qos_update_request(pm_qos_req, value);


	return count;
	return count;