summaryrefslogtreecommitdiff
path: root/firmware/usbstack
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 /firmware/usbstack
parent5ab697e8e1855cd72238488a797654341713ee00 (diff)
Remove two useless variable and hopefully finally fix red
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31274 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usbstack')
-rw-r--r--firmware/usbstack/usb_storage.c2
1 files changed, 1 insertions, 1 deletions
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)
#endif
#ifdef HAVE_HOTSWAP
- if(storage_removable(lun) && !storage_present(lun)) {
+ if(storage_removable(lun) && !storage_present(IF_MD(lun))) {
ejected[lun] = true;
}
#endif