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
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);