rtw88: pci: extract skbs free routine for trx rings
authorYan-Hsuan Chuang <yhchuang@realtek.com>
Mon, 16 Sep 2019 07:03:34 +0000 (15:03 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 21 Sep 2019 05:47:26 +0000 (08:47 +0300)
commitdc579ca5cfea3b9652db73009b394b9a3f46ae29
treec22bda5a8ff293c7c19a56262114aede9fa0a086
parent2d88b2cf2f002417cd7436f0fd34716e8c288fb1
rtw88: pci: extract skbs free routine for trx rings

These skbs free routines could be used when driver wants
to stop PCI bus, because some of the skbs remained in the
queue may not have been returned via DMA interrupt.

Signed-off-by: Yan-Hsuan Chuang <yhchuang@realtek.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtw88/pci.c