projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
23837a6
)
Bluetooth: hci_uart: Remove redundant assignment to fw_ptr
author
Nigel Christian
<nigel.l.christian@gmail.com>
Wed, 16 Jun 2021 19:45:02 +0000
(15:45 -0400)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 26 Jun 2021 05:52:41 +0000
(07:52 +0200)
The variable fw_ptr is assigned a value that is not read and the same value
is assigned in the patch goto. The assignment is redundant and can be
removed.
Addresses-Coverity: ("Unused value")
Signed-off-by: Nigel Christian <nigel.l.christian@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_ag6xx.c
patch
|
blob
|
history
diff --git
a/drivers/bluetooth/hci_ag6xx.c
b/drivers/bluetooth/hci_ag6xx.c
index 1f55df93e4ceb54922e8a0b9fb9e6bc1de927970..2d40302409ffe0a411d7337c6e3aff70a3fe0cb0 100644
(file)
--- a/
drivers/bluetooth/hci_ag6xx.c
+++ b/
drivers/bluetooth/hci_ag6xx.c
@@
-199,7
+199,6
@@
static int ag6xx_setup(struct hci_uart *hu)
fwname, err);
goto patch;
}
- fw_ptr = fw->data;
bt_dev_info(hdev, "Applying bddata (%s)", fwname);