]> asedeno.scripts.mit.edu Git - linux.git/commit
Bluetooth: hci_qca: Remove set but not used variable 'opcode'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 8 Jan 2020 01:54:31 +0000 (01:54 +0000)
committerMarcel Holtmann <marcel@holtmann.org>
Wed, 8 Jan 2020 20:47:28 +0000 (21:47 +0100)
commit56b084ed6eaa0a6353395deffb601dbd6570a1a5
tree11c5c6a0a53732a1a33b4d52c767a9dfcc04fae2
parent87c2a2a7d7631d0caa956b73f9f20010b5f55681
Bluetooth: hci_qca: Remove set but not used variable 'opcode'

Fixes gcc '-Wunused-but-set-variable' warning:

drivers/bluetooth/hci_qca.c: In function 'qca_controller_memdump':
drivers/bluetooth/hci_qca.c:980:6: warning:
 variable 'opcode' set but not used [-Wunused-but-set-variable]

It is never used since commit d841502c79e3 ("Bluetooth: hci_qca: Collect
controller memory dump during SSR"), so remove it.

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/hci_qca.c