Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Christophe JAILLET and committed by
Marcel Holtmann
4f28e3f9 6bd023c4

-2
-2
drivers/bluetooth/hci_h4.c
··· 71 71 { 72 72 struct h4_struct *h4 = hu->priv; 73 73 74 - hu->priv = NULL; 75 - 76 74 BT_DBG("hu %p", hu); 77 75 78 76 skb_queue_purge(&h4->txq);