diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-08-28 21:12:48 +0800 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-09-08 16:53:48 -0300 |
commit | 7923296f3f9eebbe3d7bb4c99d73bd7a226e0146 (patch) | |
tree | 4fb6b921c3470f1a96113e3e96982012205ddb23 /drivers | |
parent | 9712ba0bec83579ae63e4d61f79e18c7d0d9d3fd (diff) | |
download | op-kernel-dev-7923296f3f9eebbe3d7bb4c99d73bd7a226e0146.zip op-kernel-dev-7923296f3f9eebbe3d7bb4c99d73bd7a226e0146.tar.gz |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/bluetooth/btmrvl_sdio.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c index 03b3acb..3f4bfc8 100644 --- a/drivers/bluetooth/btmrvl_sdio.c +++ b/drivers/bluetooth/btmrvl_sdio.c @@ -600,8 +600,7 @@ static int btmrvl_sdio_card_to_host(struct btmrvl_private *priv) exit: if (ret) { hdev->stat.err_rx++; - if (skb) - kfree_skb(skb); + kfree_skb(skb); } return ret; |