summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafaël Carré <rafael.carre@gmail.com>2011-03-20 17:04:19 +0000
committerRafaël Carré <rafael.carre@gmail.com>2011-03-20 17:04:19 +0000
commit1675e98925fb976314c199116e37ed81e98ca530 (patch)
tree531a4f7e0442499fd63c46adf0a445ae9a5a47a0
parente9c5190de7e1b550ea9d6b5293e21cd53e8037be (diff)
downloadrockbox-1675e98925fb976314c199116e37ed81e98ca530.tar.gz
rockbox-1675e98925fb976314c199116e37ed81e98ca530.tar.bz2
rockbox-1675e98925fb976314c199116e37ed81e98ca530.zip
SD amsv2: remove double assignement
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@29624 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/as3525/sd-as3525v2.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/firmware/target/arm/as3525/sd-as3525v2.c b/firmware/target/arm/as3525/sd-as3525v2.c
index 42db1cb471..39c5a01913 100644
--- a/firmware/target/arm/as3525/sd-as3525v2.c
+++ b/firmware/target/arm/as3525/sd-as3525v2.c
@@ -1005,10 +1005,7 @@ sd_transfer_error_no_dma:
/* .initialized might have been >= 0 but now stale if the ata sd thread
* isn't handling an insert because of USB */
if (--retry_all >= 0)
- {
- ret = 0;
goto sd_transfer_retry_with_reinit;
- }
}
}