mt76: move mt76_get_next_pkt_id in mt76.h
authorLorenzo Bianconi <lorenzo@kernel.org>
Thu, 10 Jun 2021 07:44:12 +0000 (09:44 +0200)
committerFelix Fietkau <nbd@nbd.name>
Sat, 19 Jun 2021 07:22:49 +0000 (09:22 +0200)
commit90052b844d7a6db8649239434b262d28b1430cf4
treed32396a5c9754a2665be5d3628752132d532ae78
parent49c9a263d76a0cf2bb0e36f193036b45545d4eee
mt76: move mt76_get_next_pkt_id in mt76.h

In order to remove duplicated code, move mt76_get_next_pkt_id routine
in mt76.h

Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
Signed-off-by: Felix Fietkau <nbd@nbd.name>
drivers/net/wireless/mediatek/mt76/mt76.h
drivers/net/wireless/mediatek/mt76/mt7921/mac.c
drivers/net/wireless/mediatek/mt76/tx.c