X-Git-Url: https://git.karo-electronics.de/?a=blobdiff_plain;f=drivers%2Fbluetooth%2Fhci_h4.c;h=c0ce8134814e161e5da0b9f59635b9ce26e21983;hb=985c0cd3f75b5a546ceab002e36b4263f2f7d2c3;hp=b0fafb0559964762ee7db79a32dd336d34e2017b;hpb=d97c0defba25a959a990f6d4759f43075540832e;p=karo-tx-linux.git 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) skb_queue_purge(&h4->txq); - if (h4->rx_skb) - kfree_skb(h4->rx_skb); + kfree_skb(h4->rx_skb); hu->priv = NULL; kfree(h4);