staging: wilc1000: remove use of 'terminated_handle' static variable
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 5 Feb 2019 07:15:31 +0000 (07:15 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 7 Feb 2019 12:31:19 +0000 (13:31 +0100)
commit3c55a24ee2762b11446cc816fa9a1ca739a9c1ce
tree88f6fb89c4b8f16d362c4d8ace90ec4a2086eb1c
parent6f466168fa51147730a4a53e702c43122a65942a
staging: wilc1000: remove use of 'terminated_handle' static variable

Remove use of 'terminated_handle' variable and set the 'hif_drv' to
NULL once it's free.

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