summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-11-13 03:10:13 +0300
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2019-11-15 02:54:33 +0300
commit85f6a17f24f9f7faa4aaecf98e12acdd312aa4c9 (patch)
tree7cb34ee94de71a1536af0f3f12d05e7dfbd67430 /arch/arm/mach-tegra
parent63f202e5edf161c2ccffa286a9a701e995427b15 (diff)
downloadlinux-85f6a17f24f9f7faa4aaecf98e12acdd312aa4c9.tar.xz
cpuidle: teo: Avoid code duplication in conditionals
There are three places in teo_select() where a given amount of time is compared with TICK_NSEC if tick_nohz_tick_stopped() returns true, which is a bit of duplicated code. Avoid that code duplication by defining a helper function to do the check and using it in all of the places in question. No intentional functional impact. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'arch/arm/mach-tegra')
0 files changed, 0 insertions, 0 deletions