Move shared tx/rx code in mt76x02_txrx.c. Moreover rename mt76x02_util.h in mt76x02.h since now it contains most relevant mt76x02 data structures Changes since v1: - Rebase on top of 'unify rxwi parsing between mt76x0 and mt76x2 drivers' https://marc.info/?l=linux-wireless&m=153869000528661&w=2 Lorenzo Bianconi (3): mt76: move txrx shared routines in mt76x02_txrx.c mt76: rename mt76x02_util.h in mt76x02.h mt76x2: remove leftover function declatarions drivers/net/wireless/mediatek/mt76/Makefile | 3 +- .../net/wireless/mediatek/mt76/mt76x0/init.c | 3 - .../net/wireless/mediatek/mt76/mt76x0/mac.c | 4 +- .../net/wireless/mediatek/mt76/mt76x0/main.c | 3 +- .../wireless/mediatek/mt76/mt76x0/mt76x0.h | 5 +- .../net/wireless/mediatek/mt76/mt76x0/pci.c | 2 - .../net/wireless/mediatek/mt76/mt76x0/usb.c | 1 - .../mt76/{mt76x02_util.h => mt76x02.h} | 3 + .../net/wireless/mediatek/mt76/mt76x02_mac.c | 5 +- .../net/wireless/mediatek/mt76/mt76x02_mmio.c | 5 +- .../net/wireless/mediatek/mt76/mt76x02_txrx.c | 159 ++++++++++++++++++ .../wireless/mediatek/mt76/mt76x02_usb_core.c | 5 +- .../net/wireless/mediatek/mt76/mt76x02_util.c | 145 +--------------- .../net/wireless/mediatek/mt76/mt76x2/mac.c | 1 - .../net/wireless/mediatek/mt76/mt76x2/mac.h | 3 +- .../net/wireless/mediatek/mt76/mt76x2/mcu.c | 1 - .../wireless/mediatek/mt76/mt76x2/mt76x2.h | 14 +- .../wireless/mediatek/mt76/mt76x2/mt76x2u.h | 1 - .../wireless/mediatek/mt76/mt76x2/pci_core.c | 1 - .../wireless/mediatek/mt76/mt76x2/pci_dfs.c | 1 - .../wireless/mediatek/mt76/mt76x2/pci_dma.c | 2 - .../wireless/mediatek/mt76/mt76x2/pci_init.c | 2 - .../wireless/mediatek/mt76/mt76x2/pci_mac.c | 1 - .../wireless/mediatek/mt76/mt76x2/pci_main.c | 1 - .../wireless/mediatek/mt76/mt76x2/pci_mcu.c | 1 - .../wireless/mediatek/mt76/mt76x2/pci_tx.c | 2 - .../wireless/mediatek/mt76/mt76x2/usb_init.c | 3 +- .../wireless/mediatek/mt76/mt76x2/usb_main.c | 1 - 28 files changed, 175 insertions(+), 203 deletions(-) rename drivers/net/wireless/mediatek/mt76/{mt76x02_util.h => mt76x02.h} (98%) create mode 100644 drivers/net/wireless/mediatek/mt76/mt76x02_txrx.c -- 2.17.1