'\" t .\" Title: del_timer .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Driver Basics .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "DEL_TIMER" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Driver Basics" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" del_timer \- deactive a timer\&. .SH "SYNOPSIS" .HP \w'int\ del_timer('u .BI "int del_timer(struct\ timer_list\ *\ " "timer" ");" .SH "ARGUMENTS" .PP \fItimer\fR .RS 4 the timer to be deactivated .RE .SH "DESCRIPTION" .PP \fBdel_timer\fR deactivates a timer \- this works on both active and inactive timers\&. .PP The function returns whether it has deactivated a pending timer or not\&. (ie\&. \fBdel_timer\fR of an inactive timer returns 0, \fBdel_timer\fR of an active timer returns 1\&.) .SH "COPYRIGHT" .br