From: Jean-Christophe PLAGNIOL-VILLARD Date: Wed, 13 May 2009 20:16:31 +0000 (+0200) Subject: api: remove un-needed ifdef CONFIG_API already handle by the Makefile X-Git-Tag: v2009.06-rc2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=84bf7ca522e94ec402a1264b01971b924b7e268f;p=pandora-u-boot.git api: remove un-needed ifdef CONFIG_API already handle by the Makefile Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD --- diff --git a/api/api.c b/api/api.c index f51ebb7b138..385a7e3cdc5 100644 --- a/api/api.c +++ b/api/api.c @@ -24,9 +24,6 @@ */ #include - -#if defined(CONFIG_API) - #include #include #include @@ -665,5 +662,3 @@ void platform_set_mr(struct sys_info *si, unsigned long start, unsigned long siz return; } } - -#endif /* CONFIG_API */ diff --git a/api/api_net.c b/api/api_net.c index 9611ab0dda9..afe072e76ac 100644 --- a/api/api_net.c +++ b/api/api_net.c @@ -24,9 +24,6 @@ */ #include - -#if defined(CONFIG_API) - #include #include #include @@ -109,5 +106,3 @@ int dev_read_net(void *cookie, void *buf, int len) return eth_receive(buf, len); } - -#endif /* CONFIG_API */ diff --git a/api/api_platform-arm.c b/api/api_platform-arm.c index ca15ca5a985..fffaa1e4a14 100644 --- a/api/api_platform-arm.c +++ b/api/api_platform-arm.c @@ -28,9 +28,6 @@ */ #include - -#if defined(CONFIG_API) - #include #include diff --git a/api/api_platform-ppc.c b/api/api_platform-ppc.c index 611a01b5ecb..bfcc4175b61 100644 --- a/api/api_platform-ppc.c +++ b/api/api_platform-ppc.c @@ -28,9 +28,6 @@ */ #include - -#if defined(CONFIG_API) - #include #include @@ -75,5 +72,3 @@ int platform_sys_info(struct sys_info *si) return 1; } - -#endif /* CONFIG_API */ diff --git a/api/api_storage.c b/api/api_storage.c index 6fac98bffd1..c53571296f7 100644 --- a/api/api_storage.c +++ b/api/api_storage.c @@ -24,9 +24,6 @@ */ #include - -#if defined(CONFIG_API) - #include #include @@ -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 */