Name

hrtimer_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