staging: wilc1000: remove unnecessary static variable 'p2p_listen_state'
authorAjay Singh <ajay.kathat@microchip.com>
Tue, 4 Sep 2018 06:39:39 +0000 (12:09 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 10 Sep 2018 16:06:51 +0000 (18:06 +0200)
commit28ab936ed10132f903b1b67ec6de1da9595d4b51
tree368be6ef8cd7bec36d3ea8b5331c9b265443422e
parent804146b4bda386aefacdece4c5ab919940c02b12
staging: wilc1000: remove unnecessary static variable 'p2p_listen_state'

Remove the use of unnecessary static variable 'p2p_listen_state'.
Already 'p2p_listen_state' is present in 'wilc_priv' struct. So making
use of that variable as its getting set in channel ready and
remain on channel expired callback.

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