Remove ata_removable() and ata_present() from multidriver code.

ata_removable() and ata_present() no longer exist (ATA drives are never
removable with our current drivers), so storage.c shouldn't try to call
them from the wrapper functions. This was never noticed because these
wrapper functions are only used for multidriver code, which happens not
to be used with ATA currently.

Change-Id: Icb5e8cb27cdbef3edc0e51c35dc40dadf4f9de29
This commit is contained in:
Frank Gevaerts 2012-01-25 20:08:51 +01:00
parent 7ccd2c9d16
commit f1d3ff4564

View file

@ -588,7 +588,7 @@ bool storage_removable(int drive)
{ {
#if (CONFIG_STORAGE & STORAGE_ATA) #if (CONFIG_STORAGE & STORAGE_ATA)
case STORAGE_ATA: case STORAGE_ATA:
return ata_removable(ldrive); return false;
#endif #endif
#if (CONFIG_STORAGE & STORAGE_MMC) #if (CONFIG_STORAGE & STORAGE_MMC)
@ -625,7 +625,7 @@ bool storage_present(int drive)
{ {
#if (CONFIG_STORAGE & STORAGE_ATA) #if (CONFIG_STORAGE & STORAGE_ATA)
case STORAGE_ATA: case STORAGE_ATA:
return ata_present(ldrive); return true;
#endif #endif
#if (CONFIG_STORAGE & STORAGE_MMC) #if (CONFIG_STORAGE & STORAGE_MMC)