summaryrefslogtreecommitdiff
path: root/firmware
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2012-01-25 20:08:51 +0100
committerFrank Gevaerts <frank@gevaerts.be>2012-01-25 20:08:51 +0100
commitf1d3ff4564e5191da6ad5c66366af1535dd581f2 (patch)
tree87cf6dda060c15ad2345beb4fa2a551ffce32d81 /firmware
parent7ccd2c9d16743820369a5e61e6b41919c4978407 (diff)
downloadrockbox-f1d3ff4564e5191da6ad5c66366af1535dd581f2.tar.gz
rockbox-f1d3ff4564e5191da6ad5c66366af1535dd581f2.zip
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
Diffstat (limited to 'firmware')
-rw-r--r--firmware/storage.c4
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)
588 { 588 {
589#if (CONFIG_STORAGE & STORAGE_ATA) 589#if (CONFIG_STORAGE & STORAGE_ATA)
590 case STORAGE_ATA: 590 case STORAGE_ATA:
591 return ata_removable(ldrive); 591 return false;
592#endif 592#endif
593 593
594#if (CONFIG_STORAGE & STORAGE_MMC) 594#if (CONFIG_STORAGE & STORAGE_MMC)
@@ -625,7 +625,7 @@ bool storage_present(int drive)
625 { 625 {
626#if (CONFIG_STORAGE & STORAGE_ATA) 626#if (CONFIG_STORAGE & STORAGE_ATA)
627 case STORAGE_ATA: 627 case STORAGE_ATA:
628 return ata_present(ldrive); 628 return true;
629#endif 629#endif
630 630
631#if (CONFIG_STORAGE & STORAGE_MMC) 631#if (CONFIG_STORAGE & STORAGE_MMC)