diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2016-12-01 16:12:14 +0530 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2016-12-08 01:46:06 +0100 |
commit | d8323de3d4062e1b5a5aa7e9c0f935138405a582 (patch) | |
tree | 339325acf86e18ba164f93f20c7d1ae1b83f90fb /drivers/devfreq | |
parent | c8ce82b9b9c40d66709cce588f6281dd47cc3922 (diff) | |
download | op-kernel-dev-d8323de3d4062e1b5a5aa7e9c0f935138405a582.zip op-kernel-dev-d8323de3d4062e1b5a5aa7e9c0f935138405a582.tar.gz |
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>
Diffstat (limited to 'drivers/devfreq')
-rw-r--r-- | drivers/devfreq/rk3399_dmc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/devfreq/rk3399_dmc.c b/drivers/devfreq/rk3399_dmc.c index 5063ac1..971ee63 100644 --- a/drivers/devfreq/rk3399_dmc.c +++ b/drivers/devfreq/rk3399_dmc.c @@ -414,7 +414,6 @@ static int rk3399_dmcfreq_probe(struct platform_device *pdev) */ if (dev_pm_opp_of_add_table(dev)) { dev_err(dev, "Invalid operating-points in device tree.\n"); - rcu_read_unlock(); return -EINVAL; } |