Get rid of some unused code and move shared one in mt76_connac module. Lorenzo Bianconi (6): wifi: mt76: move irq_tasklet in mt76_dev struct wifi: mt76: add mt76_connac_irq_enable utility routine wifi: mt76: get rid of unused sta_ps callbacks wifi: mt76: add mt76_connac_gen_ppe_thresh utility routine wifi: mt76: mt7921: get rid of eeprom.h wifi: mt76: move shared mac definitions in mt76_connac2_mac.h drivers/net/wireless/mediatek/mt76/mac80211.c | 3 +- drivers/net/wireless/mediatek/mt76/mt76.h | 1 + .../net/wireless/mediatek/mt76/mt7615/dma.c | 5 +- .../net/wireless/mediatek/mt76/mt7615/mac.c | 5 -- .../net/wireless/mediatek/mt76/mt7615/mac.h | 12 ----- .../net/wireless/mediatek/mt76/mt7615/mmio.c | 11 ++-- .../wireless/mediatek/mt76/mt7615/mt7615.h | 10 ---- .../net/wireless/mediatek/mt76/mt7615/pci.c | 2 +- .../wireless/mediatek/mt76/mt7615/pci_init.c | 2 +- .../net/wireless/mediatek/mt76/mt7615/sdio.c | 1 - .../net/wireless/mediatek/mt76/mt7615/usb.c | 1 - .../net/wireless/mediatek/mt76/mt76_connac.h | 21 ++++++++ .../wireless/mediatek/mt76/mt76_connac2_mac.h | 22 ++++++++ .../wireless/mediatek/mt76/mt76_connac_mac.c | 21 ++++++++ .../net/wireless/mediatek/mt76/mt7915/init.c | 25 +-------- .../net/wireless/mediatek/mt76/mt7915/mac.c | 6 +-- .../net/wireless/mediatek/mt76/mt7915/mac.h | 33 +----------- .../net/wireless/mediatek/mt76/mt7915/mmio.c | 7 ++- .../wireless/mediatek/mt76/mt7915/mt7915.h | 4 +- .../wireless/mediatek/mt76/mt7921/debugfs.c | 1 - .../net/wireless/mediatek/mt76/mt7921/dma.c | 10 ++-- .../wireless/mediatek/mt76/mt7921/eeprom.h | 30 ----------- .../net/wireless/mediatek/mt76/mt7921/init.c | 3 +- .../net/wireless/mediatek/mt76/mt7921/mac.c | 18 ++++--- .../net/wireless/mediatek/mt76/mt7921/mac.h | 53 ------------------- .../net/wireless/mediatek/mt76/mt7921/main.c | 23 +------- .../net/wireless/mediatek/mt76/mt7921/mcu.c | 3 +- .../wireless/mediatek/mt76/mt7921/mt7921.h | 20 +++---- .../net/wireless/mediatek/mt76/mt7921/pci.c | 24 ++++----- .../wireless/mediatek/mt76/mt7921/pci_mac.c | 2 +- .../net/wireless/mediatek/mt76/mt7921/sdio.c | 3 +- .../wireless/mediatek/mt76/mt7921/sdio_mac.c | 2 +- .../wireless/mediatek/mt76/mt7921/sdio_mcu.c | 2 +- .../net/wireless/mediatek/mt76/mt7921/usb.c | 3 +- .../wireless/mediatek/mt76/mt7921/usb_mac.c | 2 +- .../net/wireless/mediatek/mt76/mt7996/init.c | 25 +-------- .../net/wireless/mediatek/mt76/mt7996/mac.c | 6 +-- .../net/wireless/mediatek/mt76/mt7996/mac.h | 12 ----- .../net/wireless/mediatek/mt76/mt7996/mmio.c | 7 ++- .../wireless/mediatek/mt76/mt7996/mt7996.h | 4 +- 40 files changed, 139 insertions(+), 306 deletions(-) delete mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/eeprom.h delete mode 100644 drivers/net/wireless/mediatek/mt76/mt7921/mac.h -- 2.39.2