a4m072: add CONFIG_SYS_FLASH_BANKS_SIZES define
[platform/kernel/u-boot.git] / api / api_net.c
index 9611ab0..afe072e 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 */