diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-08-28 09:12:48 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2012-09-08 15:53:48 -0400 |
commit | 7923296f3f9eebbe3d7bb4c99d73bd7a226e0146 (patch) | |
tree | 4fb6b921c3470f1a96113e3e96982012205ddb23 /drivers/bluetooth | |
parent | 9712ba0bec83579ae63e4d61f79e18c7d0d9d3fd (diff) |
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/bluetooth')
-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 03b3acba614..3f4bfc814dc 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) | |||
600 | exit: | 600 | exit: |
601 | if (ret) { | 601 | if (ret) { |
602 | hdev->stat.err_rx++; | 602 | hdev->stat.err_rx++; |
603 | if (skb) | 603 | kfree_skb(skb); |
604 | kfree_skb(skb); | ||
605 | } | 604 | } |
606 | 605 | ||
607 | return ret; | 606 | return ret; |