summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/mwifiex/scan.c
diff options
context:
space:
mode:
authorAmitkumar Karwar <akarwar@marvell.com>2014-09-12 18:38:57 +0400
committerJohn W. Linville <linville@tuxdriver.com>2014-09-15 23:00:52 +0400
commit971a73f5523ea0512267949bd6ae3f68b9f3431f (patch)
tree94fda84ac36b771eeaf296554a6891258f672810 /drivers/net/wireless/mwifiex/scan.c
parent5ec39efa16036c8291d2d81282280213c2c16ad1 (diff)
downloadlinux-971a73f5523ea0512267949bd6ae3f68b9f3431f.tar.xz
mwifiex: remove redundant variable report_scan_result
This variable is never used, get rid of it. Signed-off-by: Amitkumar Karwar <akarwar@marvell.com> Signed-off-by: Avinash Patil <patila@marvell.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwifiex/scan.c')
-rw-r--r--drivers/net/wireless/mwifiex/scan.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/mwifiex/scan.c b/drivers/net/wireless/mwifiex/scan.c
index 183528db88bf..2d1a2471fae3 100644
--- a/drivers/net/wireless/mwifiex/scan.c
+++ b/drivers/net/wireless/mwifiex/scan.c
@@ -1779,9 +1779,6 @@ static void mwifiex_check_next_scan_command(struct mwifiex_private *priv)
if (!adapter->ext_scan)
mwifiex_complete_scan(priv);
- if (priv->report_scan_result)
- priv->report_scan_result = false;
-
if (priv->scan_request) {
dev_dbg(adapter->dev, "info: notifying scan done\n");
cfg80211_scan_done(priv->scan_request, 0);