mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
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:

committed by
Wolfgang Denk

parent
792a09eb9d
commit
84bf7ca522
@ -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 */
|
||||
|
Reference in New Issue
Block a user