Tag: 073d72f963c987bc79fb1efd61ce53b919e2de27

rtlwifi: Delete unnecessary checks before the function call “kfree_skb”

Author: Markus Elfring <elfring@users.sourceforge.net> The kfree_skb() function tests whether its argument is NULL and then returns immediately. Thus the test around the calls is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring Signed-off-by: Kalle Valo — drivers/net/wireless/realtek/rtlwifi/core.c | 3 +– drivers/net/wireless/realtek/rtlwifi/rtl8723com/fw_common.c | 4 +— 2 files changed, 2 insertions(+), …

Continue reading