Re: [PATCH] wifi: rtw88: remove unused rtw_pci_get_tx_desc function
From: Kalle Valo <kvalo@kernel.org>
Date: 2023-03-31 14:46:34
Also in:
linux-wireless, lkml, llvm
From: Kalle Valo <kvalo@kernel.org>
Date: 2023-03-31 14:46:34
Also in:
linux-wireless, lkml, llvm
Tom Rix [off-list ref] wrote:
clang with W=1 reports
drivers/net/wireless/realtek/rtw88/pci.c:92:21: error:
unused function 'rtw_pci_get_tx_desc' [-Werror,-Wunused-function]
static inline void *rtw_pci_get_tx_desc(struct rtw_pci_tx_ring *tx_ring, u8 idx)
^
This function is not used, so remove it.
Signed-off-by: Tom Rix <trix@redhat.com>
Reviewed-by: Ping-Ke Shih <pkshih@realtek.com>Patch applied to wireless-next.git, thanks. c9b6111a6f94 wifi: rtw88: remove unused rtw_pci_get_tx_desc function -- https://patchwork.kernel.org/project/linux-wireless/patch/20230320233448.1729899-1-trix@redhat.com/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches