Commit 4f28e3f9 authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Marcel Holtmann

Bluetooth: hci_h4: Remove a redundant assignment in 'h4_flush()'

'hu->priv' is set twice to NULL in this function.
Axe one of these assignments.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 6bd023c4
...@@ -71,8 +71,6 @@ static int h4_close(struct hci_uart *hu) ...@@ -71,8 +71,6 @@ static int h4_close(struct hci_uart *hu)
{ {
struct h4_struct *h4 = hu->priv; struct h4_struct *h4 = hu->priv;
hu->priv = NULL;
BT_DBG("hu %p", hu); BT_DBG("hu %p", hu);
skb_queue_purge(&h4->txq); skb_queue_purge(&h4->txq);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment