mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
Bluetooth: ath3k: Silence uninitialized variable warning
We could print an uninitialized value in the error message. Signed-off-by: Dan Carpenter <[email protected]> Signed-off-by: Marcel Holtmann <[email protected]>
This commit is contained in:
parent
151c37bc29
commit
e9fc71649b
1 changed files with 4 additions and 2 deletions
|
|
@ -206,7 +206,8 @@ static int ath3k_load_firmware(struct usb_device *udev,
|
|||
const struct firmware *firmware)
|
||||
{
|
||||
u8 *send_buf;
|
||||
int err, pipe, len, size, sent = 0;
|
||||
int len = 0;
|
||||
int err, pipe, size, sent = 0;
|
||||
int count = firmware->size;
|
||||
|
||||
BT_DBG("udev %p", udev);
|
||||
|
|
@ -302,7 +303,8 @@ static int ath3k_load_fwfile(struct usb_device *udev,
|
|||
const struct firmware *firmware)
|
||||
{
|
||||
u8 *send_buf;
|
||||
int err, pipe, len, size, count, sent = 0;
|
||||
int len = 0;
|
||||
int err, pipe, size, count, sent = 0;
|
||||
int ret;
|
||||
|
||||
count = firmware->size;
|
||||
|
|
|
|||
Loading…
Reference in a new issue