]> git.baikalelectronics.ru Git - kernel.git/commit
staging: wilc1000: avoid use of static variable 'inactive_time'
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 26 Jun 2018 06:07:12 +0000 (11:37 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 12:55:51 +0000 (21:55 +0900)
commit6a61764623fe34a3d7e035236ab7755c51e2a7ea
treefb648084ddc8991d7d28bf593744c6e842c039fa
parentd1f75cca670eeebd8498d570f308e66123731a35
staging: wilc1000: avoid use of static variable 'inactive_time'

Avoided the use of static variable 'inactive_time' and move it as part of
'sta_inactive_t' structure.

Signed-off-by: Ajay Singh <ajay.kathat@microchip.com>
Reviewed-by: Claudiu Beznea <claudiu.beznea@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/host_interface.c