Message ID | ac70c5f48b070bb9050705c6defc76f13a492702.1479197311.git.viresh.kumar@linaro.org |
---|---|
State | Accepted |
Commit | 8e2ddb03643eb9d0bc4926946d7ce0d308eef0a5 |
Headers | show |
diff --git a/kernel/sched/cpufreq_schedutil.c b/kernel/sched/cpufreq_schedutil.c index 69e06898997d..8c4e1652e895 100644 --- a/kernel/sched/cpufreq_schedutil.c +++ b/kernel/sched/cpufreq_schedutil.c @@ -454,17 +454,17 @@ static int sugov_init(struct cpufreq_policy *policy) if (ret) goto fail; - out: +out: mutex_unlock(&global_tunables_lock); cpufreq_enable_fast_switch(policy); return 0; - fail: +fail: policy->governor_data = NULL; sugov_tunables_free(tunables); - free_sg_policy: +free_sg_policy: mutex_unlock(&global_tunables_lock); sugov_policy_free(sg_policy);
Switch to the more common practice of writing labels. Suggested-by: Peter Zijlstra <peterz@infradead.org> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> --- kernel/sched/cpufreq_schedutil.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) -- 2.7.1.410.g6faf27b