mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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: Thomas Gleixner <[email protected]> Cc: Chas Williams <[email protected]> Cc: atm <[email protected]> Cc: netdev <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
aff12acccb
commit
869f273911
1 changed files with 3 additions and 3 deletions
|
|
@ -368,9 +368,9 @@ EXPORT_SYMBOL(idt77105_init);
|
|||
|
||||
static void __exit idt77105_exit(void)
|
||||
{
|
||||
/* turn off timers */
|
||||
del_timer(&stats_timer);
|
||||
del_timer(&restart_timer);
|
||||
/* turn off timers */
|
||||
del_timer_sync(&stats_timer);
|
||||
del_timer_sync(&restart_timer);
|
||||
}
|
||||
|
||||
module_exit(idt77105_exit);
|
||||
|
|
|
|||
Loading…
Reference in a new issue