diff options
Diffstat (limited to 'drivers/bluetooth/hci_h4.c')
-rw-r--r-- | drivers/bluetooth/hci_h4.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/bluetooth/hci_h4.c b/drivers/bluetooth/hci_h4.c index b0fafb055996..c0ce8134814e 100644 --- a/drivers/bluetooth/hci_h4.c +++ b/drivers/bluetooth/hci_h4.c | |||
@@ -102,8 +102,7 @@ static int h4_close(struct hci_uart *hu) | |||
102 | 102 | ||
103 | skb_queue_purge(&h4->txq); | 103 | skb_queue_purge(&h4->txq); |
104 | 104 | ||
105 | if (h4->rx_skb) | 105 | kfree_skb(h4->rx_skb); |
106 | kfree_skb(h4->rx_skb); | ||
107 | 106 | ||
108 | hu->priv = NULL; | 107 | hu->priv = NULL; |
109 | kfree(h4); | 108 | kfree(h4); |