summaryrefslogtreecommitdiff
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-18 22:35:33 (GMT)
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-18 22:35:33 (GMT)
commitfaff7f74d2f945527ef92d68e501d9e8adaca750 (patch)
tree6af09712049788a043952ad92dc8dfce4443b606 /drivers/bluetooth
parent76a388beaf92cc75b829d4a0b7d69afaaeaa4b0a (diff)
downloadlinux-fsl-qoriq-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>
Diffstat (limited to 'drivers/bluetooth')
-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 1cb5183..0e9e8e9 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;