Re: [PATCH] Bluetooth: btusb: remove set but not used variable in btusb_mtk_setup_firmware_79xx

2021-02-04 Thread Marcel Holtmann
Hi Ye, > 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] > str

[PATCH] Bluetooth: btusb: remove set but not used variable in btusb_mtk_setup_firmware_79xx

2021-02-03 Thread Ye Bin
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_heade