mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
wifi: rtlwifi: rtl8723: Remove unused function rtl8723_cmd_send_packet()
The function rtl8723_cmd_send_packet() is not used anywhere, so remove it. Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Acked-by: Ping-Ke Shih <pkshih@realtek.com> Signed-off-by: Kalle Valo <kvalo@kernel.org> Link: https://lore.kernel.org/r/20230824062339.1885385-1-ruanjinjie@huawei.com
This commit is contained in:
parent
290564367a
commit
e8afebbf43
2 changed files with 0 additions and 30 deletions
|
@ -215,31 +215,3 @@ int rtl8723_download_fw(struct ieee80211_hw *hw,
|
|||
}
|
||||
EXPORT_SYMBOL_GPL(rtl8723_download_fw);
|
||||
|
||||
bool rtl8723_cmd_send_packet(struct ieee80211_hw *hw,
|
||||
struct sk_buff *skb)
|
||||
{
|
||||
struct rtl_priv *rtlpriv = rtl_priv(hw);
|
||||
struct rtl_pci *rtlpci = rtl_pcidev(rtl_pcipriv(hw));
|
||||
struct rtl8192_tx_ring *ring;
|
||||
struct rtl_tx_desc *pdesc;
|
||||
struct sk_buff *pskb = NULL;
|
||||
unsigned long flags;
|
||||
|
||||
ring = &rtlpci->tx_ring[BEACON_QUEUE];
|
||||
|
||||
pskb = __skb_dequeue(&ring->queue);
|
||||
kfree_skb(pskb);
|
||||
spin_lock_irqsave(&rtlpriv->locks.irq_th_lock, flags);
|
||||
|
||||
pdesc = &ring->desc[0];
|
||||
rtlpriv->cfg->ops->fill_tx_cmddesc(hw, (u8 *)pdesc, 1, 1, skb);
|
||||
|
||||
__skb_queue_tail(&ring->queue, skb);
|
||||
|
||||
spin_unlock_irqrestore(&rtlpriv->locks.irq_th_lock, flags);
|
||||
|
||||
rtlpriv->cfg->ops->tx_polling(hw, BEACON_QUEUE);
|
||||
|
||||
return true;
|
||||
}
|
||||
EXPORT_SYMBOL_GPL(rtl8723_cmd_send_packet);
|
||||
|
|
|
@ -66,7 +66,5 @@ void rtl8723_write_fw(struct ieee80211_hw *hw,
|
|||
u8 *buffer, u32 size, u8 max_page);
|
||||
int rtl8723_fw_free_to_go(struct ieee80211_hw *hw, bool is_8723be, int count);
|
||||
int rtl8723_download_fw(struct ieee80211_hw *hw, bool is_8723be, int count);
|
||||
bool rtl8723_cmd_send_packet(struct ieee80211_hw *hw,
|
||||
struct sk_buff *skb);
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue