hrtimer: Make use of timerqueue_add/del return values
authorThomas Gleixner <tglx@linutronix.de>
Tue, 14 Apr 2015 21:08:47 +0000 (21:08 +0000)
committerThomas Gleixner <tglx@linutronix.de>
Wed, 22 Apr 2015 15:06:50 +0000 (17:06 +0200)
commitb97f44c9b658d52e0139c947ea5519e51ba38d81
treeef86d61eb124b2f5cf10bac96557608282c7f7f5
parentc320642e1ced3b81592610e374894fea995f475b
hrtimer: Make use of timerqueue_add/del return values

Use the return value instead of reevaluating the information.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Acked-by: Peter Zijlstra <peterz@infradead.org>
Cc: Preeti U Murthy <preeti@linux.vnet.ibm.com>
Cc: Viresh Kumar <viresh.kumar@linaro.org>
Cc: Marcelo Tosatti <mtosatti@redhat.com>
Cc: Frederic Weisbecker <fweisbec@gmail.com>
Link: http://lkml.kernel.org/r/20150414203501.658152945@linutronix.de
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
kernel/time/hrtimer.c