1DEL_TIMER(9) Driver Basics DEL_TIMER(9)
23
4
NAME
6del_timer - deactive a timer.
7
SYNOPSIS
9int del_timer(struct timer_list * timer);
10
ARGUMENTS
12timer
13the timer to be deactivated
14
DESCRIPTION
16del_timer deactivates a timer - this works on both active and inactive
17timers.
1819
The function returns whether it has deactivated a pending timer or not.
20(ie. del_timer of an inactive timer returns 0, del_timer of an active
21timer returns 1.)
22
COPYRIGHT
24Kernel Hackers Manual 2.6. June 2019 DEL_TIMER(9)