Эх сурвалжийг харах

Bluetooth: remove unneeded var initialization in btmrvl

There is no need to init ret to zero in  btmrvl_sdio_download_fw().

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
Gustavo Padovan 12 жил өмнө
parent
commit
faff7f74d2

+ 1 - 1
drivers/bluetooth/btmrvl_sdio.c

@@ -874,7 +874,7 @@ exit:
 
 
 static int btmrvl_sdio_download_fw(struct btmrvl_sdio_card *card)
 static int btmrvl_sdio_download_fw(struct btmrvl_sdio_card *card)
 {
 {
-	int ret = 0;
+	int ret;
 	u8 fws0;
 	u8 fws0;
 	int pollnum = MAX_POLL_TRIES;
 	int pollnum = MAX_POLL_TRIES;