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: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Christophe JAILLET 2020-02-28 06:01:13 +01:00 committed by Marcel Holtmann
parent 6bd023c48f
commit 4f28e3f917

View File

@ -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);