mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-10-03 23:58:05 +00:00
devfreq: rk3399_dmc: Remove dangling rcu_read_unlock()
This call never had the rcu_read_lock() counterpart. Remove the unlock part as well. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Chanwoo Choi <cw00.choi@samsung.com> Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
parent
c8ce82b9b9
commit
d8323de3d4
1 changed files with 0 additions and 1 deletions
|
@ -414,7 +414,6 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev)
|
||||||
*/
|
*/
|
||||||
if (dev_pm_opp_of_add_table(dev)) {
|
if (dev_pm_opp_of_add_table(dev)) {
|
||||||
dev_err(dev, "Invalid operating-points in device tree.\n");
|
dev_err(dev, "Invalid operating-points in device tree.\n");
|
||||||
rcu_read_unlock();
|
|
||||||
return -EINVAL;
|
return -EINVAL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue