Skip to content

Commit 1f05361

Browse files
Nigel Christianholtmann
authored andcommitted
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 <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
1 parent 23837a6 commit 1f05361

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

drivers/bluetooth/hci_ag6xx.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,6 @@ static int ag6xx_setup(struct hci_uart *hu)
199199
fwname, err);
200200
goto patch;
201201
}
202-
fw_ptr = fw->data;
203202

204203
bt_dev_info(hdev, "Applying bddata (%s)", fwname);
205204

0 commit comments

Comments
 (0)