diff options
author | Frank Gevaerts <frank@gevaerts.be> | 2012-01-25 20:08:51 +0100 |
---|---|---|
committer | Frank Gevaerts <frank@gevaerts.be> | 2012-01-25 20:08:51 +0100 |
commit | f1d3ff4564e5191da6ad5c66366af1535dd581f2 (patch) | |
tree | 87cf6dda060c15ad2345beb4fa2a551ffce32d81 | |
parent | 7ccd2c9d16743820369a5e61e6b41919c4978407 (diff) |
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
-rw-r--r-- | firmware/storage.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/storage.c b/firmware/storage.c index 69f28d94a8..0f78712784 100644 --- a/firmware/storage.c +++ b/firmware/storage.c @@ -588,7 +588,7 @@ bool storage_removable(int drive) { #if (CONFIG_STORAGE & STORAGE_ATA) case STORAGE_ATA: - return ata_removable(ldrive); + return false; #endif #if (CONFIG_STORAGE & STORAGE_MMC) @@ -625,7 +625,7 @@ bool storage_present(int drive) { #if (CONFIG_STORAGE & STORAGE_ATA) case STORAGE_ATA: - return ata_present(ldrive); + return true; #endif #if (CONFIG_STORAGE & STORAGE_MMC) |