mirror of https://gitee.com/openkylin/linux.git
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> |
||
---|---|---|
.. | ||
Makefile | ||
haltpoll.c | ||
ladder.c | ||
menu.c | ||
teo.c |