Skip to content
Snippets Groups Projects
Commit 1f053613 authored by Nigel Christian's avatar Nigel Christian Committed by Marcel Holtmann
Browse files

Bluetooth: hci_uart: Remove redundant assignment to fw_ptr


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: default avatarNigel Christian <nigel.l.christian@gmail.com>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent 23837a6d
No related branches found
No related tags found
No related merge requests found
...@@ -199,7 +199,6 @@ static int ag6xx_setup(struct hci_uart *hu) ...@@ -199,7 +199,6 @@ static int ag6xx_setup(struct hci_uart *hu)
fwname, err); fwname, err);
goto patch; goto patch;
} }
fw_ptr = fw->data;
bt_dev_info(hdev, "Applying bddata (%s)", fwname); bt_dev_info(hdev, "Applying bddata (%s)", fwname);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment