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:
parent
5ab697e8e1
commit
8632f955f4
2 changed files with 1 additions and 3 deletions
|
|
@ -322,8 +322,6 @@ static int transfer_sectors(IF_MD2(int drive,) unsigned long start, int count, v
|
||||||
IF_MD((void) drive);
|
IF_MD((void) drive);
|
||||||
int ret = 0;
|
int ret = 0;
|
||||||
uint32_t resp;
|
uint32_t resp;
|
||||||
unsigned long old_start = start;
|
|
||||||
int old_count = count;
|
|
||||||
|
|
||||||
last_disk_activity = current_tick;
|
last_disk_activity = current_tick;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -778,7 +778,7 @@ static void handle_scsi(struct command_block_wrapper* cbw)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef HAVE_HOTSWAP
|
#ifdef HAVE_HOTSWAP
|
||||||
if(storage_removable(lun) && !storage_present(lun)) {
|
if(storage_removable(lun) && !storage_present(IF_MD(lun))) {
|
||||||
ejected[lun] = true;
|
ejected[lun] = true;
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue