Re: [PATCH] wifi: rtw88: remove unused rtw_pci_get_tx_desc function
From: Kalle Valo
Date: Fri Mar 31 2023 - 10:46:34 EST
Tom Rix <trix@xxxxxxxxxx> 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@xxxxxxxxxx>
> Reviewed-by: Ping-Ke Shih <pkshih@xxxxxxxxxxx>
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@xxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches