staging: wilc1000: remove unnecessary checks in wilc_mac_close()
authorAjay Singh <ajay.kathat@microchip.com>
Sun, 2 Dec 2018 18:02:16 +0000 (18:02 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 5 Dec 2018 08:48:45 +0000 (09:48 +0100)
commit440592df865f0ef6859882431f65a06c124080db
tree74474bec98359b66e812603d031e0fbe95551197
parent0668d5b5921c82e82bc6f5fa97baec5a50e92ab4
staging: wilc1000: remove unnecessary checks in wilc_mac_close()

Remove unnecessary 'if' check in wilc_mac_close() as those conditions
will not happen.

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