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: Nigel Christian <nigel.l.christian@gmail.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
This commit is contained in:
Nigel Christian 2021-06-16 15:45:02 -04:00 committed by Marcel Holtmann
parent 23837a6d7a
commit 1f0536139c

View File

@ -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);