]> git.baikalelectronics.ru Git - kernel.git/commit
Bluetooth: hci_uart: Remove redundant assignment to fw_ptr
authorNigel Christian <nigel.l.christian@gmail.com>
Wed, 16 Jun 2021 19:45:02 +0000 (15:45 -0400)
committerMarcel Holtmann <marcel@holtmann.org>
Sat, 26 Jun 2021 05:52:41 +0000 (07:52 +0200)
commit77e2ecf1a50460d42c65de27d59147dbafec13cd
treed1d92b6f6d1a82f2a210dbac550bb91effe78736
parent1b6e8dcf2326d85591f6a7b58295b0a625e82f40
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>
drivers/bluetooth/hci_ag6xx.c