diff mbox series

[13/31] staging: wfx: drop useless struct hif_bss_flags

Message ID 20200907101521.66082-14-Jerome.Pouiller@silabs.com
State New
Headers show
Series [01/31] staging: wfx: improve readability of association processing | expand

Commit Message

Jérôme Pouiller Sept. 7, 2020, 10:15 a.m. UTC
From: Jérôme Pouiller <jerome.pouiller@silabs.com>

Struct hif_bss_flags has no reason to exist. In add, it is never used.
Drop it.

Signed-off-by: Jérôme Pouiller <jerome.pouiller@silabs.com>
---
 drivers/staging/wfx/hif_api_cmd.h | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
diff mbox series

Patch

diff --git a/drivers/staging/wfx/hif_api_cmd.h b/drivers/staging/wfx/hif_api_cmd.h
index 1c99431eb90f..895f26d9f1a2 100644
--- a/drivers/staging/wfx/hif_api_cmd.h
+++ b/drivers/staging/wfx/hif_api_cmd.h
@@ -366,13 +366,9 @@  struct hif_ind_join_complete {
 	__le32 status;
 } __packed;
 
-struct hif_bss_flags {
+struct hif_req_set_bss_params {
 	u8     lost_count_only:1;
 	u8     reserved:7;
-} __packed;
-
-struct hif_req_set_bss_params {
-	struct hif_bss_flags bss_flags;
 	u8     beacon_lost_count;
 	__le16 aid;
 	__le32 operational_rate_set;