diff options
author | Lorenzo Bianconi <lorenzo@kernel.org> | 2020-04-02 20:18:48 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@nbd.name> | 2020-05-12 19:52:29 +0200 |
commit | bb31a80eb2b36cccf5d72b616381aff650ac3961 (patch) | |
tree | 0ffe0f3599aeb86bd95bb5d72b6c629f9f246b8b /drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h | |
parent | 34cdf1a618eb071a62362eb79428835167630531 (diff) | |
download | lwn-bb31a80eb2b36cccf5d72b616381aff650ac3961.tar.gz lwn-bb31a80eb2b36cccf5d72b616381aff650ac3961.zip |
mt76: add headroom and tailroom to mt76_mcu_ops data structure
Introduce headroom and tailroom to mt76_mcu_ops data structure in order
to unify the routine used for mcu message allocation. This is a
preliminary patch to add mt7663u support
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h')
-rw-r--r-- | drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h b/drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h index c81a9655c4c9..5fba1266c648 100644 --- a/drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h +++ b/drivers/net/wireless/mediatek/mt76/mt76x02_mcu.h @@ -85,12 +85,6 @@ struct mt76x02_patch_header { u8 pad[2]; }; -static inline struct sk_buff * -mt76x02_mcu_msg_alloc(const void *data, int len) -{ - return mt76_mcu_msg_alloc(data, 0, len, 0); -} - int mt76x02_mcu_cleanup(struct mt76x02_dev *dev); int mt76x02_mcu_calibrate(struct mt76x02_dev *dev, int type, u32 param); int mt76x02_mcu_msg_send(struct mt76_dev *mdev, int cmd, const void *data, |