From 207c92bbcda4fd29f92d7d55ee9a2dc49a8423a7 Mon Sep 17 00:00:00 2001 From: Shayne Chen Date: Fri, 3 Mar 2023 16:35:54 +0800 Subject: [PATCH] wifi: mt76: mt7996: remove unused eeprom band selection Tri-band chipsets support one band on each a-die, so remove the unused definition of eeprom band selection. Signed-off-by: Shayne Chen Signed-off-by: Felix Fietkau --- mt7996/eeprom.c | 4 ---- mt7996/eeprom.h | 1 - 2 files changed, 5 deletions(-) diff --git a/mt7996/eeprom.c b/mt7996/eeprom.c index 2e48c5a4..544b6c6f 100644 --- a/mt7996/eeprom.c +++ b/mt7996/eeprom.c @@ -138,10 +138,6 @@ static int mt7996_eeprom_parse_band_config(struct mt7996_phy *phy) case MT_EE_BAND_SEL_6GHZ: phy->mt76->cap.has_6ghz = true; break; - case MT_EE_BAND_SEL_5GHZ_6GHZ: - phy->mt76->cap.has_5ghz = true; - phy->mt76->cap.has_6ghz = true; - break; default: ret = -EINVAL; break; diff --git a/mt7996/eeprom.h b/mt7996/eeprom.h index 8da599e0..5571881f 100644 --- a/mt7996/eeprom.h +++ b/mt7996/eeprom.h @@ -46,7 +46,6 @@ enum mt7996_eeprom_band { MT_EE_BAND_SEL_2GHZ, MT_EE_BAND_SEL_5GHZ, MT_EE_BAND_SEL_6GHZ, - MT_EE_BAND_SEL_5GHZ_6GHZ, }; static inline int