Bluetooth: btusb: remove set but not used variable in btusb_mtk_setup_firmware_79xx
authorYe Bin <yebin10@huawei.com>
Thu, 4 Feb 2021 01:18:56 +0000 (09:18 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Thu, 4 Feb 2021 12:56:11 +0000 (13:56 +0100)
commit8564baa3cf986b2f61af93128161b9cf25d4139f
tree93ec50cf38e8eace0c91d2d43462e86919241ee8
parenta297f565f299f63c3d44f6fd3bafe06e2accf00d
Bluetooth: btusb: remove set but not used variable in btusb_mtk_setup_firmware_79xx

Fix follow warning:
drivers/bluetooth/btusb.c:3479:9: warning: variable ‘fw_size’ set but not used [-Wunused-but-set-variable]
  size_t fw_size;
         ^~~~~~~
drivers/bluetooth/btusb.c:3473:29: warning: variable ‘patchhdr’ set but not used [-Wunused-but-set-variable]
  struct btmtk_patch_header *patchhdr = NULL;
                             ^~~~~~~~

Reported-by: Hulk Robot <hulkci@huawei.com>
Signed-off-by: Ye Bin <yebin10@huawei.com>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btusb.c