summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmaury Pouly <pamaury@rockbox.org>2011-12-15 17:28:30 +0000
committerAmaury Pouly <pamaury@rockbox.org>2011-12-15 17:28:30 +0000
commit8632f955f4d9576d342d009a3292f2f8e85e4282 (patch)
treedb0c171f8f6eba729282b28eaacfdacc984db742
parent5ab697e8e1855cd72238488a797654341713ee00 (diff)
downloadrockbox-8632f955f4d9576d342d009a3292f2f8e85e4282.tar.gz
rockbox-8632f955f4d9576d342d009a3292f2f8e85e4282.zip
Remove two useless variable and hopefully finally fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31274 a1c6a512-1295-4272-9138-f99709370657
-rw-r--r--firmware/target/arm/imx233/sd-imx233.c2
-rw-r--r--firmware/usbstack/usb_storage.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/firmware/target/arm/imx233/sd-imx233.c b/firmware/target/arm/imx233/sd-imx233.c
index 745a75b2dc..e979db10f9 100644
--- a/firmware/target/arm/imx233/sd-imx233.c
+++ b/firmware/target/arm/imx233/sd-imx233.c
@@ -322,8 +322,6 @@ static int transfer_sectors(IF_MD2(int drive,) unsigned long start, int count, v
322 IF_MD((void) drive); 322 IF_MD((void) drive);
323 int ret = 0; 323 int ret = 0;
324 uint32_t resp; 324 uint32_t resp;
325 unsigned long old_start = start;
326 int old_count = count;
327 325
328 last_disk_activity = current_tick; 326 last_disk_activity = current_tick;
329 327
diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c
index 64764f178d..1db04e0cb8 100644
--- a/firmware/usbstack/usb_storage.c
+++ b/firmware/usbstack/usb_storage.c
@@ -778,7 +778,7 @@ static void handle_scsi(struct command_block_wrapper* cbw)
778#endif 778#endif
779 779
780#ifdef HAVE_HOTSWAP 780#ifdef HAVE_HOTSWAP
781 if(storage_removable(lun) && !storage_present(lun)) { 781 if(storage_removable(lun) && !storage_present(IF_MD(lun))) {
782 ejected[lun] = true; 782 ejected[lun] = true;
783 } 783 }
784#endif 784#endif