diff options
author | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-04-18 18:35:33 -0400 |
---|---|---|
committer | Gustavo Padovan <gustavo.padovan@collabora.co.uk> | 2013-04-18 18:35:33 -0400 |
commit | faff7f74d2f945527ef92d68e501d9e8adaca750 (patch) | |
tree | 6af09712049788a043952ad92dc8dfce4443b606 /drivers/bluetooth/btmrvl_sdio.c | |
parent | 76a388beaf92cc75b829d4a0b7d69afaaeaa4b0a (diff) |
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.c | 2 |
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: | |||
874 | 874 | ||
875 | static int btmrvl_sdio_download_fw(struct btmrvl_sdio_card *card) | 875 | static int btmrvl_sdio_download_fw(struct btmrvl_sdio_card *card) |
876 | { | 876 | { |
877 | int ret = 0; | 877 | int ret; |
878 | u8 fws0; | 878 | u8 fws0; |
879 | int pollnum = MAX_POLL_TRIES; | 879 | int pollnum = MAX_POLL_TRIES; |
880 | 880 | ||