summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorVaishali Thakkar2015-03-06 11:53:51 +0100
committerGreg Kroah-Hartman2015-03-16 15:46:07 +0100
commit382d020f4459cd77237c5463098935fd64afdab3 (patch)
treee8df9089a237c9aedccef60def804811bcea6985 /kernel
parentStaging: rtl8712: Eliminate use of _cancel_timer_ex (diff)
downloadkernel-qcow2-linux-382d020f4459cd77237c5463098935fd64afdab3.tar.gz
kernel-qcow2-linux-382d020f4459cd77237c5463098935fd64afdab3.tar.xz
kernel-qcow2-linux-382d020f4459cd77237c5463098935fd64afdab3.zip
Staging: rtl8712: Eliminate use of _cancel_timer
Use timer API function del_timer_sync instead of driver specific function _cancel_timer as besides deactivating a timer, it also ensures that the timer is stopped on all CPUs before the driver exists. Also, variables timer_cancelled and bool are removed as they are no longer needed. @a@ expression x; identifier y; @@ - _cancel_timer (&x, &y); + del_timer_sync (&x); @@type T; identifier a.y;@@ - T y; ...when != y Signed-off-by: Vaishali Thakkar <vthakkar1994@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions