summaryrefslogtreecommitdiffstats
path: root/api/api_storage.c
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-05-13 22:16:31 +0200
committerWolfgang Denk <wd@denx.de>2009-05-15 22:13:01 +0200
commit84bf7ca522e94ec402a1264b01971b924b7e268f (patch)
tree61ce6ef421bee63113617434197a652bb6adf14e /api/api_storage.c
parent792a09eb9d5d8c4f74b7e9f2e887316d511a4e80 (diff)
downloadtalos-obmc-uboot-84bf7ca522e94ec402a1264b01971b924b7e268f.tar.gz
talos-obmc-uboot-84bf7ca522e94ec402a1264b01971b924b7e268f.zip
api: remove un-needed ifdef CONFIG_API already handle by the Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'api/api_storage.c')
-rw-r--r--api/api_storage.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/api/api_storage.c b/api/api_storage.c
index 6fac98bffd..c53571296f 100644
--- a/api/api_storage.c
+++ b/api/api_storage.c
@@ -24,9 +24,6 @@
*/
#include <config.h>
-
-#if defined(CONFIG_API)
-
#include <common.h>
#include <api_public.h>
@@ -391,5 +388,3 @@ lbasize_t dev_read_stor(void *cookie, void *buf, lbasize_t len, lbastart_t start
return (dd->block_read(dev_stor_index(dd), start, len, buf));
}
-
-#endif /* CONFIG_API */
OpenPOWER on IntegriCloud