staging: wilc1000: move 'aging_timer' static variable to wilc_priv struct
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 4 Sep 2018 06:39:18 +0000 (12:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 15:17:37 +0000 (17:17 +0200)
commit1803da60f7c208cb7138f289dfc6d05fe49e1bd3
treeba741c801bf96464954c56506205a9e4e1787122
parent4cf13399537e34067cf0d652dfbaf82d8793a9fc
staging: wilc1000: move 'aging_timer' static variable to wilc_priv struct

Moved 'aging_timer' to wilc_priv struct instead of having it as static
variable.
As 'aging_timer' is maintained for each interfaces so 'op_ifcs' check is
not required before the timer_setup() and del_timer_sync() call.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_cfgoperations.c
drivers/staging/wilc1000/wilc_wfi_netdevice.h