1
0
Fork 0
forked from len0rd/rockbox

Remove two useless variable and hopefully finally fix red

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@31274 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Amaury Pouly 2011-12-15 17:28:30 +00:00
parent 5ab697e8e1
commit 8632f955f4
2 changed files with 1 additions and 3 deletions

View file

@ -322,8 +322,6 @@ static int transfer_sectors(IF_MD2(int drive,) unsigned long start, int count, v
IF_MD((void) drive);
int ret = 0;
uint32_t resp;
unsigned long old_start = start;
int old_count = count;
last_disk_activity = current_tick;

View file

@ -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