api: remove un-needed ifdef CONFIG_API already handle by the Makefile
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
This commit is contained in:
parent
792a09eb9d
commit
84bf7ca522
|
@ -24,9 +24,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#if defined(CONFIG_API)
|
|
||||||
|
|
||||||
#include <command.h>
|
#include <command.h>
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <malloc.h>
|
#include <malloc.h>
|
||||||
|
@ -665,5 +662,3 @@ void platform_set_mr(struct sys_info *si, unsigned long start, unsigned long siz
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_API */
|
|
||||||
|
|
|
@ -24,9 +24,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#if defined(CONFIG_API)
|
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <net.h>
|
#include <net.h>
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
|
@ -109,5 +106,3 @@ int dev_read_net(void *cookie, void *buf, int len)
|
||||||
|
|
||||||
return eth_receive(buf, len);
|
return eth_receive(buf, len);
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_API */
|
|
||||||
|
|
|
@ -28,9 +28,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#if defined(CONFIG_API)
|
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <api_public.h>
|
#include <api_public.h>
|
||||||
|
|
||||||
|
|
|
@ -28,9 +28,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#if defined(CONFIG_API)
|
|
||||||
|
|
||||||
#include <linux/types.h>
|
#include <linux/types.h>
|
||||||
#include <api_public.h>
|
#include <api_public.h>
|
||||||
|
|
||||||
|
@ -75,5 +72,3 @@ int platform_sys_info(struct sys_info *si)
|
||||||
|
|
||||||
return 1;
|
return 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_API */
|
|
||||||
|
|
|
@ -24,9 +24,6 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <config.h>
|
#include <config.h>
|
||||||
|
|
||||||
#if defined(CONFIG_API)
|
|
||||||
|
|
||||||
#include <common.h>
|
#include <common.h>
|
||||||
#include <api_public.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));
|
return (dd->block_read(dev_stor_index(dd), start, len, buf));
|
||||||
}
|
}
|
||||||
|
|
||||||
#endif /* CONFIG_API */
|
|
||||||
|
|
Loading…
Reference in New Issue