Fix for moving cdrom_close() as well.

This commit is contained in:
waltje
2017-10-11 05:56:45 -04:00
parent 57c2a3615e
commit 3381ffa891
3 changed files with 4 additions and 23 deletions

View File

@@ -64,25 +64,6 @@ cdrom_init_host_drives(void)
}
void
cdrom_close(uint8_t id)
{
switch (cdrom_drives[id].host_drive) {
case 0:
null_close(id);
break;
case 200:
image_close(id);
break;
default:
ioctl_close(id);
break;
}
}
void
cdrom_eject(uint8_t id)
{