HRTIMER_CANCEL(9) Driver Basics HRTIMER_CANCEL(9)NAMEhrtimer_cancel - cancel a timer and wait for the handler to finish.
SYNOPSIS
int hrtimer_cancel(struct hrtimer * timer);
ARGUMENTS
timer
the timer to be cancelled
RETURNS
0 when the timer was not active 1 when the timer was active
COPYRIGHTKernel Hackers Manual 2.6. November 2013 HRTIMER_CANCEL(9)