diff options
author | Larry Finger <Larry.Finger@lwfinger.net> | 2015-01-20 11:01:20 -0600 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2015-02-10 16:09:11 +0200 |
commit | aeb2d2a4c0ae1739a6e1782bd8c1c96aee8db4e1 (patch) | |
tree | 87d63f93903d97b88a602ea8189575a74cb9c4da /drivers/net | |
parent | b0f9ca53cbb103e9240a29a974e0b6085e58f9f7 (diff) |
rtlwifi: Remove logging statement that is no longer needed
In commit e9538cf4f907 ("rtlwifi: Fix error when accessing unmapped memory
in skb"), a printk was included to indicate that the condition had been
reached. There is now enough evidence from other users that the fix is
working. That logging statement can now be removed.
Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Stable <stable@vger.kernel.org> [V3.18]
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/rtlwifi/pci.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/rtlwifi/pci.c b/drivers/net/wireless/rtlwifi/pci.c index ec456f0d972..a62170ea048 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) /* get a new skb - if fail, old one will be reused */ new_skb = dev_alloc_skb(rtlpci->rxbuffersize); - if (unlikely(!new_skb)) { - pr_err("Allocation of new skb failed in %s\n", - __func__); + if (unlikely(!new_skb)) goto no_new; - } if (rtlpriv->use_new_trx_flow) { buffer_desc = &rtlpci->rx_ring[rxring_idx].buffer_desc |