Bluetooth: btmrvl: remove pointless conditional before kfree_skb()

Remove pointless conditional before kfree_skb().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
This commit is contained in:
Wei Yongjun 2012-08-28 21:12:48 +08:00 committed by Gustavo Padovan
parent 9712ba0bec
commit 7923296f3f

View File

@ -600,8 +600,7 @@ static int btmrvl_sdio_card_to_host(struct btmrvl_private *priv)
exit: exit:
if (ret) { if (ret) {
hdev->stat.err_rx++; hdev->stat.err_rx++;
if (skb) kfree_skb(skb);
kfree_skb(skb);
} }
return ret; return ret;