commit | c320642e1ced3b81592610e374894fea995f475b | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <[email protected]> | Tue Apr 14 21:08:46 2015 +0000 |
committer | Thomas Gleixner <[email protected]> | Wed Apr 22 17:06:49 2015 +0200 |
tree | 3366c764cadbcf525b0d60b55cfede105c41dc5d | |
parent | b8e38413ac2c33c497e72895fcd5da709fd1b908 [diff] |
timerqueue: Let timerqueue_add/del return information The hrtimer code is interested whether the added timer is the first one to expire and whether the removed timer was the last one in the tree. The add/del routines have that information already. So we can return it right away instead of reevaluating it at the call site. Signed-off-by: Thomas Gleixner <[email protected]> Acked-by: Peter Zijlstra <[email protected]> Cc: Preeti U Murthy <[email protected]> Cc: Viresh Kumar <[email protected]> Cc: Marcelo Tosatti <[email protected]> Cc: Frederic Weisbecker <[email protected]> Cc: John Stultz <[email protected]> Link: http://lkml.kernel.org/r/[email protected] Signed-off-by: Thomas Gleixner <[email protected]>