aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/rtlwifi/pci.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/wireless/rtlwifi/pci.c')
-rw-r--r--drivers/net/wireless/rtlwifi/pci.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c
index ec456f0d972e..a62170ea0481 100644
--- a/drivers/net/wireless/rtlwifi/pci.c
+++ b/drivers/net/wireless/rtlwifi/pci.c
@@ -822,11 +822,8 @@ static void _rtl_pci_rx_interrupt(struct ieee80211_hw *hw)
822 822
823 /* get a new skb - if fail, old one will be reused */ 823 /* get a new skb - if fail, old one will be reused */
824 new_skb = dev_alloc_skb(rtlpci->rxbuffersize); 824 new_skb = dev_alloc_skb(rtlpci->rxbuffersize);
825 if (unlikely(!new_skb)) { 825 if (unlikely(!new_skb))
826 pr_err("Allocation of new skb failed in %s\n",
827 __func__);
828 goto no_new; 826 goto no_new;
829 }
830 if (rtlpriv->use_new_trx_flow) { 827 if (rtlpriv->use_new_trx_flow) {
831 buffer_desc = 828 buffer_desc =
832 &rtlpci->rx_ring[rxring_idx].buffer_desc 829 &rtlpci->rx_ring[rxring_idx].buffer_desc