OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.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
94baa56
..
4b3b14a
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);