mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-23 01:10:04 +00:00
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:
parent
9712ba0bec
commit
7923296f3f
1 changed files with 1 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue