From f1d3ff4564e5191da6ad5c66366af1535dd581f2 Mon Sep 17 00:00:00 2001 From: Frank Gevaerts Date: Wed, 25 Jan 2012 20:08:51 +0100 Subject: [PATCH] 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 --- firmware/storage.c | 4 ++-- 1 file 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) -- 2.11.4.GIT