staging: wfx: drop useless struct hif_bss_flags
authorJérôme Pouiller <jerome.pouiller@silabs.com>
Mon, 7 Sep 2020 10:15:03 +0000 (12:15 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 13 Sep 2020 07:23:02 +0000 (09:23 +0200)
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>
Link: https://lore.kernel.org/r/20200907101521.66082-14-Jerome.Pouiller@silabs.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wfx/hif_api_cmd.h

index 1c99431..895f26d 100644 (file)
@@ -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;