提交 6e9643a8 编写于 作者: Z Zhang Qilong 提交者: Rafael J. Wysocki

cpufreq: e_powersaver: remove unreachable break

A 'break' following a 'return' statement is pointless, so remove it.
Signed-off-by: NZhang Qilong <zhangqilong3@huawei.com>
Acked-by: NViresh Kumar <viresh.kumar@linaro.org>
[ rjw: Subject and changelog edits ]
Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
上级 3650b228
......@@ -223,7 +223,6 @@ static int eps_cpu_init(struct cpufreq_policy *policy)
case EPS_BRAND_C3:
pr_cont("C3\n");
return -ENODEV;
break;
}
/* Enable Enhanced PowerSaver */
rdmsrl(MSR_IA32_MISC_ENABLE, val);
......
......@@ -593,7 +593,6 @@ static void longhaul_setup_voltagescaling(void)
break;
default:
return;
break;
}
if (min_vid_speed >= highest_speed)
return;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册