1
0
Fork 0

cpufreq: maple: Remove redundant code from maple_cpufreq_init()

The success path and error path both look the same, don't duplicate the
code.

Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
hifive-unleashed-5.2
Viresh Kumar 2019-04-08 15:46:10 +05:30
parent 2332980328
commit c1d1090c3c
1 changed files with 0 additions and 4 deletions

View File

@ -231,10 +231,6 @@ static int __init maple_cpufreq_init(void)
rc = cpufreq_register_driver(&maple_cpufreq_driver);
of_node_put(cpunode);
return rc;
bail_noprops:
of_node_put(cpunode);