mt76: get rid of mt76_wcid_hw routine
mt76_wcid_hw() is no longer used. Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org> Signed-off-by: Felix Fietkau <nbd@nbd.name>
This commit is contained in:
parent
a062f00173
commit
8950a62f19
1 changed files with 0 additions and 10 deletions
|
@ -893,16 +893,6 @@ extern struct ieee80211_rate mt76_rates[12];
|
|||
|
||||
#define mt76_hw(dev) (dev)->mphy.hw
|
||||
|
||||
static inline struct ieee80211_hw *
|
||||
mt76_wcid_hw(struct mt76_dev *dev, u16 wcid)
|
||||
{
|
||||
if (wcid <= MT76_N_WCIDS &&
|
||||
mt76_wcid_mask_test(dev->wcid_phy_mask, wcid))
|
||||
return dev->phys[MT_BAND1]->hw;
|
||||
|
||||
return dev->phy.hw;
|
||||
}
|
||||
|
||||
bool __mt76_poll(struct mt76_dev *dev, u32 offset, u32 mask, u32 val,
|
||||
int timeout);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue