]> git.kernelconcepts.de Git - karo-tx-uboot.git/commitdiff
api: remove un-needed ifdef CONFIG_API already handle by the Makefile
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Wed, 13 May 2009 20:16:31 +0000 (22:16 +0200)
committerWolfgang Denk <wd@denx.de>
Fri, 15 May 2009 20:13:01 +0000 (22:13 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
api/api.c
api/api_net.c
api/api_platform-arm.c
api/api_platform-ppc.c
api/api_storage.c

index f51ebb7b1384d316230117fe2a9ce8404d75f6c0..385a7e3cdc507ea302d4607a8ea75a35c552e07b 100644 (file)
--- a/api/api.c
+++ b/api/api.c
@@ -24,9 +24,6 @@
  */
 
 #include <config.h>
-
-#if defined(CONFIG_API)
-
 #include <command.h>
 #include <common.h>
 #include <malloc.h>
@@ -665,5 +662,3 @@ void platform_set_mr(struct sys_info *si, unsigned long start, unsigned long siz
                        return;
                }
 }
-
-#endif /* CONFIG_API */
index 9611ab0dda960f6574c4cd213551c4fda4ab7a4b..afe072e76acec152f9bdd744efaf1e2c93e6a917 100644 (file)
@@ -24,9 +24,6 @@
  */
 
 #include <config.h>
-
-#if defined(CONFIG_API)
-
 #include <common.h>
 #include <net.h>
 #include <linux/types.h>
@@ -109,5 +106,3 @@ int dev_read_net(void *cookie, void *buf, int len)
 
        return eth_receive(buf, len);
 }
-
-#endif /* CONFIG_API */
index ca15ca5a98521159188eb299ff4b27b3253ae557..fffaa1e4a14f9fd1b37512e16fe4d728e408b85c 100644 (file)
@@ -28,9 +28,6 @@
  */
 
 #include <config.h>
-
-#if defined(CONFIG_API)
-
 #include <linux/types.h>
 #include <api_public.h>
 
index 611a01b5ecb78e7344da66085acf20337e26bb71..bfcc4175b61a2672732b3b93abd503a5c4349151 100644 (file)
@@ -28,9 +28,6 @@
  */
 
 #include <config.h>
-
-#if defined(CONFIG_API)
-
 #include <linux/types.h>
 #include <api_public.h>
 
@@ -75,5 +72,3 @@ int platform_sys_info(struct sys_info *si)
 
        return 1;
 }
-
-#endif /* CONFIG_API */
index 6fac98bffd19e49617c7a9a12198d41b00def03f..c53571296f7d791c2e068982408d1ed0050a4b5c 100644 (file)
@@ -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 */