mirror of
https://github.com/tbsdtv/linux_media.git
synced 2025-07-23 12:43:29 +02:00
cpufreq: e_powersaver: remove unreachable break
A 'break' following a 'return' statement is pointless, so remove it. Signed-off-by: Zhang Qilong <zhangqilong3@huawei.com> Acked-by: Viresh Kumar <viresh.kumar@linaro.org> [ rjw: Subject and changelog edits ] Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
This commit is contained in:
committed by
Rafael J. Wysocki
parent
3650b228f8
commit
6e9643a864
@@ -223,7 +223,6 @@ static int eps_cpu_init(struct cpufreq_policy *policy)
|
|||||||
case EPS_BRAND_C3:
|
case EPS_BRAND_C3:
|
||||||
pr_cont("C3\n");
|
pr_cont("C3\n");
|
||||||
return -ENODEV;
|
return -ENODEV;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
/* Enable Enhanced PowerSaver */
|
/* Enable Enhanced PowerSaver */
|
||||||
rdmsrl(MSR_IA32_MISC_ENABLE, val);
|
rdmsrl(MSR_IA32_MISC_ENABLE, val);
|
||||||
|
@@ -593,7 +593,6 @@ static void longhaul_setup_voltagescaling(void)
|
|||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
break;
|
|
||||||
}
|
}
|
||||||
if (min_vid_speed >= highest_speed)
|
if (min_vid_speed >= highest_speed)
|
||||||
return;
|
return;
|
||||||
|
Reference in New Issue
Block a user