mt76: mt7921: removed unused definitions in mcu.h
authorLorenzo Bianconi <lorenzo@kernel.org>
Sat, 6 Feb 2021 10:35:41 +0000 (11:35 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 11 Apr 2021 16:50:38 +0000 (18:50 +0200)
Get rid of the following definitions in mt7921/mcu.h since they are not
actually used:
- MT7921_WTBL_UPDATE_MAX_SIZE
- MT7921_STA_UPDATE_MAX_SIZE
- MT7921_WTBL_UPDATE_BA_SIZE

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt7921/mcu.h

index 2fdc623..fd67838 100644 (file)
@@ -251,29 +251,6 @@ enum {
        MT_IBF = BIT(1)         /* implicit beamforming */
 };
 
-#define MT7921_WTBL_UPDATE_MAX_SIZE    (sizeof(struct wtbl_req_hdr) +  \
-                                        sizeof(struct wtbl_generic) +  \
-                                        sizeof(struct wtbl_rx) +       \
-                                        sizeof(struct wtbl_ht) +       \
-                                        sizeof(struct wtbl_vht) +      \
-                                        sizeof(struct wtbl_hdr_trans) +\
-                                        sizeof(struct wtbl_ba) +       \
-                                        sizeof(struct wtbl_smps))
-
-#define MT7921_STA_UPDATE_MAX_SIZE     (sizeof(struct sta_req_hdr) +   \
-                                        sizeof(struct sta_rec_basic) + \
-                                        sizeof(struct sta_rec_ht) +    \
-                                        sizeof(struct sta_rec_he) +    \
-                                        sizeof(struct sta_rec_ba) +    \
-                                        sizeof(struct sta_rec_vht) +   \
-                                        sizeof(struct sta_rec_uapsd) + \
-                                        sizeof(struct sta_rec_amsdu) + \
-                                        sizeof(struct tlv) +           \
-                                        MT7921_WTBL_UPDATE_MAX_SIZE)
-
-#define MT7921_WTBL_UPDATE_BA_SIZE     (sizeof(struct wtbl_req_hdr) +  \
-                                        sizeof(struct wtbl_ba))
-
 #define STA_CAP_WMM                    BIT(0)
 #define STA_CAP_SGI_20                 BIT(4)
 #define STA_CAP_SGI_40                 BIT(5)