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:
parent
7ccd2c9d16
commit
f1d3ff4564
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||||
|
|
Loading…
Reference in a new issue