summaryrefslogtreecommitdiff
path: root/scripts/gcc-plugins/cyc_complexity_plugin.c
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2017-04-25 13:27:21 +0300
committerEduardo Valentin <edubezval@gmail.com>2017-05-28 03:32:52 +0300
commitda27f69d6a4eaf7bdaaad9d9e1b997a1c8f186aa (patch)
treec315bd1e48c8de4006cef943724c94a7ff9cd7d5 /scripts/gcc-plugins/cyc_complexity_plugin.c
parent81ee14da1051ee87c243b9a0e55d83f1aa274b76 (diff)
downloadlinux-da27f69d6a4eaf7bdaaad9d9e1b997a1c8f186aa.tar.xz
thermal: cpu_cooling: get_level() can't fail
The frequency passed to get_level() is returned by cpu_power_to_freq() and it is guaranteed that get_level() can't fail. Get rid of error code. Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org> Reviewed-by: Lukasz Luba <lukasz.luba@arm.com> Tested-by: Lukasz Luba <lukasz.luba@arm.com> Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Diffstat (limited to 'scripts/gcc-plugins/cyc_complexity_plugin.c')
0 files changed, 0 insertions, 0 deletions