Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f0f879ba authored by Viresh Kumar's avatar Viresh Kumar Committed by Rafael J. Wysocki
Browse files

cpufreq: s3c24xx: Remove useless checks



These aren't required at all, remove them.

Reviewed-by: default avatarKrzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: default avatarViresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 64bf55a7
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -571,11 +571,7 @@ static int s3c_cpufreq_build_freq(void)
{
	int size, ret;

	if (!cpu_cur.info->calc_freqtable)
		return -EINVAL;

	kfree(ftab);
	ftab = NULL;

	size = cpu_cur.info->calc_freqtable(&cpu_cur, NULL, 0);
	size++;