From 8632f955f4d9576d342d009a3292f2f8e85e4282 Mon Sep 17 00:00:00 2001 From: Amaury Pouly Date: Thu, 15 Dec 2011 17:28:30 +0000 Subject: Remove two useless variable and hopefully finally fix red git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31274 a1c6a512-1295-4272-9138-f99709370657 --- firmware/usbstack/usb_storage.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/usbstack') diff --git a/firmware/usbstack/usb_storage.c b/firmware/usbstack/usb_storage.c index 64764f1..1db04e0 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 -- cgit v1.1