summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-19 02:35:33 +0400
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-19 02:35:33 +0400
commitfaff7f74d2f945527ef92d68e501d9e8adaca750 (patch)
tree6af09712049788a043952ad92dc8dfce4443b606
parent76a388beaf92cc75b829d4a0b7d69afaaeaa4b0a (diff)
downloadlinux-faff7f74d2f945527ef92d68e501d9e8adaca750.tar.xz
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>
-rw-r--r--drivers/bluetooth/btmrvl_sdio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/bluetooth/btmrvl_sdio.c b/drivers/bluetooth/btmrvl_sdio.c
index 1cb51839912d..0e9e8e95916d 100644
--- a/drivers/bluetooth/btmrvl_sdio.c
+++ b/drivers/bluetooth/btmrvl_sdio.c
@@ -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;