Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 869f2739 authored by Thomas Gleixner's avatar Thomas Gleixner Committed by David S. Miller
Browse files

atm: idt77105: Use del_timer_sync() in exit path



The module is about to go away. Make sure everything is stopped safely
before we pull the plug.

Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
Cc: Chas Williams <chas@cmf.nrl.navy.mil>
Cc: atm <linux-atm-general@lists.sourceforge.net>
Cc: netdev <netdev@vger.kernel.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent aff12acc
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -369,8 +369,8 @@ EXPORT_SYMBOL(idt77105_init);
static void __exit idt77105_exit(void)
{
	/* turn off timers */
        del_timer(&stats_timer);
        del_timer(&restart_timer);
	del_timer_sync(&stats_timer);
	del_timer_sync(&restart_timer);
}

module_exit(idt77105_exit);