Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

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>

authored by

Larry Finger and committed by
Kalle Valo
aeb2d2a4 b0f9ca53

+1 -4
+1 -4
drivers/net/wireless/rtlwifi/pci.c
··· 822 822 823 823 /* get a new skb - if fail, old one will be reused */ 824 824 new_skb = dev_alloc_skb(rtlpci->rxbuffersize); 825 - if (unlikely(!new_skb)) { 826 - pr_err("Allocation of new skb failed in %s\n", 827 - __func__); 825 + if (unlikely(!new_skb)) 828 826 goto no_new; 829 - } 830 827 if (rtlpriv->use_new_trx_flow) { 831 828 buffer_desc = 832 829 &rtlpci->rx_ring[rxring_idx].buffer_desc