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:
Jean-Christophe PLAGNIOL-VILLARD 2009-05-13 22:16:31 +02:00 committed by Wolfgang Denk
parent 792a09eb9d
commit 84bf7ca522
5 changed files with 0 additions and 23 deletions

View 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 */