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

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
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -71,8 +71,6 @@ static int h4_close(struct hci_uart *hu)
{
	struct h4_struct *h4 = hu->priv;

	hu->priv = NULL;

	BT_DBG("hu %p", hu);

	skb_queue_purge(&h4->txq);