Bluetooth: remove unneeded var initialization in btmrvl
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 18 Apr 2013 22:35:33 +0000 (19:35 -0300)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>
Thu, 18 Apr 2013 22:35:33 +0000 (19:35 -0300)
There is no need to init ret to zero in  btmrvl_sdio_download_fw().

Signed-off-by: Gustavo Padovan <gustavo.padovan@collabora.co.uk>
drivers/bluetooth/btmrvl_sdio.c

index 1cb51839912d0e791254349a64f171ec2a9754a2..0e9e8e95916d29cc66b317ca1ad1baa8ea74d5cf 100644 (file)
@@ -874,7 +874,7 @@ exit:
 
 static int btmrvl_sdio_download_fw(struct btmrvl_sdio_card *card)
 {
-       int ret = 0;
+       int ret;
        u8 fws0;
        int pollnum = MAX_POLL_TRIES;