summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mediatek
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@nbd.name>2019-10-14 12:01:09 +0200
committerFelix Fietkau <nbd@nbd.name>2019-11-20 13:23:50 +0100
commit3473750cd412e5506213e773e9fdd0729d1affe5 (patch)
tree6008c9d5a81340297aad44406d421fd44762682c /drivers/net/wireless/mediatek
parentbf5238b25ac373cb2a544fe8554fd66fc9e04efc (diff)
downloadlinux-3473750cd412e5506213e773e9fdd0729d1affe5.tar.gz
linux-3473750cd412e5506213e773e9fdd0729d1affe5.tar.bz2
linux-3473750cd412e5506213e773e9fdd0729d1affe5.zip
mt76: remove obsolete .add_buf() from struct mt76_queue_ops
It hasn't been used in a while Signed-off-by: Felix Fietkau <nbd@nbd.name>
Diffstat (limited to 'drivers/net/wireless/mediatek')
-rw-r--r--drivers/net/wireless/mediatek/mt76/mt76.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/mediatek/mt76/mt76.h b/drivers/net/wireless/mediatek/mt76/mt76.h
index f50a12252158..4bdf8c44c6d2 100644
--- a/drivers/net/wireless/mediatek/mt76/mt76.h
+++ b/drivers/net/wireless/mediatek/mt76/mt76.h
@@ -152,10 +152,6 @@ struct mt76_queue_ops {
int idx, int n_desc, int bufsize,
u32 ring_base);
- int (*add_buf)(struct mt76_dev *dev, struct mt76_queue *q,
- struct mt76_queue_buf *buf, int nbufs, u32 info,
- struct sk_buff *skb, void *txwi);
-
int (*tx_queue_skb)(struct mt76_dev *dev, enum mt76_txq_id qid,
struct sk_buff *skb, struct mt76_wcid *wcid,
struct ieee80211_sta *sta);