cpufreq: Remove needless bios_limit check in show_bios_limit()
authorYue Hu <huyue2@yulong.com>
Tue, 16 Apr 2019 02:40:27 +0000 (10:40 +0800)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 16 Apr 2019 21:10:42 +0000 (23:10 +0200)
commitb23aa311fa1f376640069e5da897b4a6148d104f
tree87793c4e30036be8d3adf74c8bc3c60e3875d661
parenteae2ef0ed2460c56915b13e7d67bb46ae379ec72
cpufreq: Remove needless bios_limit check in show_bios_limit()

Initially, bios_limit attribute will be created if driver->bios_limit
is set in cpufreq_add_dev_interface(). So remove the redundant check
for latter show operation.

Signed-off-by: Yue Hu <huyue2@yulong.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/cpufreq/cpufreq.c