[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20200420160311.57323-17-Jerome.Pouiller@silabs.com>
Date: Mon, 20 Apr 2020 18:03:11 +0200
From: Jerome Pouiller <Jerome.Pouiller@...abs.com>
To: devel@...verdev.osuosl.org, linux-wireless@...r.kernel.org
Cc: netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Kalle Valo <kvalo@...eaurora.org>,
"David S . Miller" <davem@...emloft.net>,
Jérôme Pouiller
<jerome.pouiller@...abs.com>
Subject: [PATCH 16/16] staging: wfx: drop unused attribute 'join_complete_status'
From: Jérôme Pouiller <jerome.pouiller@...abs.com>
The field join_complete_status is never read. Drop it.
Signed-off-by: Jérôme Pouiller <jerome.pouiller@...abs.com>
---
drivers/staging/wfx/sta.c | 2 --
drivers/staging/wfx/wfx.h | 2 --
2 files changed, 4 deletions(-)
diff --git a/drivers/staging/wfx/sta.c b/drivers/staging/wfx/sta.c
index 1e43e3b65953..5d5c8951f50b 100644
--- a/drivers/staging/wfx/sta.c
+++ b/drivers/staging/wfx/sta.c
@@ -361,10 +361,8 @@ static void wfx_do_join(struct wfx_vif *wvif)
ret = hif_join(wvif, conf, wvif->channel, ssid, ssidlen);
if (ret) {
ieee80211_connection_loss(wvif->vif);
- wvif->join_complete_status = -1;
wfx_do_unjoin(wvif);
} else {
- wvif->join_complete_status = 0;
/* Due to beacon filtering it is possible that the
* AP's beacon is not known for the mac80211 stack.
* Disable filtering temporary to make sure the stack
diff --git a/drivers/staging/wfx/wfx.h b/drivers/staging/wfx/wfx.h
index 8d29bf77cfed..706e95cd1092 100644
--- a/drivers/staging/wfx/wfx.h
+++ b/drivers/staging/wfx/wfx.h
@@ -82,8 +82,6 @@ struct wfx_vif {
unsigned long uapsd_mask;
- int join_complete_status;
-
/* avoid some operations in parallel with scan */
struct mutex scan_lock;
struct work_struct scan_work;
--
2.26.1
Powered by blists - more mailing lists