mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
timers: Remove set_timer_slack() leftovers
We now have implicit batching in the timer wheel. The slack API is no longer used, so remove it. Signed-off-by: Thomas Gleixner <[email protected]> Cc: Alan Stern <[email protected]> Cc: Andrew F. Davis <[email protected]> Cc: Arjan van de Ven <[email protected]> Cc: Chris Mason <[email protected]> Cc: David S. Miller <[email protected]> Cc: David Woodhouse <[email protected]> Cc: Dmitry Eremin-Solenikov <[email protected]> Cc: Eric Dumazet <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: George Spelvin <[email protected]> Cc: Greg Kroah-Hartman <[email protected]> Cc: Jaehoon Chung <[email protected]> Cc: Jens Axboe <[email protected]> Cc: John Stultz <[email protected]> Cc: Josh Triplett <[email protected]> Cc: Len Brown <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: Mathias Nyman <[email protected]> Cc: Pali Rohár <[email protected]> Cc: Paul E. McKenney <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Rik van Riel <[email protected]> Cc: Sebastian Reichel <[email protected]> Cc: Ulf Hansson <[email protected]> Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Cc: [email protected] Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Ingo Molnar <[email protected]>
This commit is contained in:
parent
500462a9de
commit
53bf837b78
8 changed files with 1 additions and 38 deletions
|
|
@ -735,11 +735,8 @@ static void bq27xxx_battery_poll(struct work_struct *work)
|
|||
|
||||
bq27xxx_battery_update(di);
|
||||
|
||||
if (poll_interval > 0) {
|
||||
/* The timer does not have to be accurate. */
|
||||
set_timer_slack(&di->work.timer, poll_interval * HZ / 4);
|
||||
if (poll_interval > 0)
|
||||
schedule_delayed_work(&di->work, poll_interval * HZ);
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue