mirror of
https://github.com/torvalds/linux.git
synced 2024-11-26 14:12:06 +00:00
85f6a17f24
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> |
||
---|---|---|
.. | ||
haltpoll.c | ||
ladder.c | ||
Makefile | ||
menu.c | ||
teo.c |