]> git.ipfire.org Git - thirdparty/kernel/stable.git/commitdiff
rtlwifi: Remove logging statement that is no longer needed
authorLarry Finger <Larry.Finger@lwfinger.net>
Tue, 20 Jan 2015 17:01:20 +0000 (11:01 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 6 Mar 2015 22:57:19 +0000 (14:57 -0800)
commit aeb2d2a4c0ae1739a6e1782bd8c1c96aee8db4e1 upstream.

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>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/wireless/rtlwifi/pci.c

index c70efb9a6e78ccf22170bb8bbfe0abe89be695ef..e25faacf58b76873b7c24a7addca5f0ceb6b6834 100644 (file)
@@ -816,11 +816,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