projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bd023c
)
Bluetooth: hci_h4: Remove a redundant assignment in 'h4_flush()'
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Fri, 28 Feb 2020 05:01:13 +0000
(06:01 +0100)
committer
Marcel Holtmann
<marcel@holtmann.org>
Fri, 28 Feb 2020 07:43:57 +0000
(08:43 +0100)
'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>
drivers/bluetooth/hci_h4.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/hci_h4.c
b/drivers/bluetooth/hci_h4.c
index 94baa56b9f5004c194fa25dadc4034765a5d7cf3..4b3b14a3479472c8c66ef6e21c56dacb1d605e0c 100644
(file)
--- a/
drivers/bluetooth/hci_h4.c
+++ b/
drivers/bluetooth/hci_h4.c
@@
-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);