summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth/btmrvl_sdio.c
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-18 19:35:33 -0300
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-18 19:35:33 -0300
commitfaff7f74d2f945527ef92d68e501d9e8adaca750 (patch)
tree6af09712049788a043952ad92dc8dfce4443b606 /drivers/bluetooth/btmrvl_sdio.c
parent76a388beaf92cc75b829d4a0b7d69afaaeaa4b0a (diff)
downloadop-kernel-dev-faff7f74d2f945527ef92d68e501d9e8adaca750.zip
op-kernel-dev-faff7f74d2f945527ef92d68e501d9e8adaca750.tar.gz
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/btmrvl_sdio.c')
-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;
OpenPOWER on IntegriCloud