mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-23 12:14:10 +08:00
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:
parent
23837a6d7a
commit
1f0536139c
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user