Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 7923296f authored by Wei Yongjun's avatar Wei Yongjun Committed by Gustavo Padovan
Browse files

Bluetooth: btmrvl: remove pointless conditional before kfree_skb()



Remove pointless conditional before kfree_skb().

Signed-off-by: default avatarWei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarGustavo Padovan <gustavo.padovan@collabora.co.uk>
parent 9712ba0b
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -600,7 +600,6 @@ static int btmrvl_sdio_card_to_host(struct btmrvl_private *priv)
exit:
	if (ret) {
		hdev->stat.err_rx++;
		if (skb)
		kfree_skb(skb);
	}