mt76: mt7921: remove dead definitions
authorLorenzo Bianconi <lorenzo@kernel.org>
Wed, 15 Dec 2021 13:52:47 +0000 (14:52 +0100)
committerFelix Fietkau <nbd@nbd.name>
Sun, 19 Dec 2021 14:24:04 +0000 (15:24 +0100)
to_wcid_lo and to_wcid_hi are no longer used in mt7921/mcu.c

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

index a494991..a2c892b 100644 (file)
@@ -93,9 +93,6 @@ struct mt7921_fw_region {
 #define PATCH_SEC_ENC_SCRAMBLE_INFO_MASK       GENMASK(15, 0)
 #define PATCH_SEC_ENC_AES_KEY_MASK             GENMASK(7, 0)
 
-#define to_wcid_lo(id)                 FIELD_GET(GENMASK(7, 0), (u16)id)
-#define to_wcid_hi(id)                 FIELD_GET(GENMASK(9, 8), (u16)id)
-
 static enum mcu_cipher_type
 mt7921_mcu_get_cipher(int cipher)
 {