mirror of
https://github.com/torvalds/linux.git
synced 2026-06-03 20:14:06 +02:00
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 <shayne.chen@mediatek.com> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
d0b6f86fdb
commit
c04ab57dab
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user