summaryrefslogtreecommitdiffstats
path: root/drivers/bluetooth
diff options
context:
space:
mode:
authorGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-19 00:35:33 +0200
committerGustavo Padovan <gustavo.padovan@collabora.co.uk>2013-04-19 00:35:33 +0200
commitfaff7f74d2f945527ef92d68e501d9e8adaca750 (patch)
tree6af09712049788a043952ad92dc8dfce4443b606 /drivers/bluetooth
parentBluetooth: Rename LE_SCANNING_* macros (diff)
downloadlinux-faff7f74d2f945527ef92d68e501d9e8adaca750.tar.xz
linux-faff7f74d2f945527ef92d68e501d9e8adaca750.zip
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 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;