aboutsummaryrefslogtreecommitdiffstats
path: root/api
diff options
context:
space:
mode:
authorMike Frysinger2011-10-02 05:01:27 -0500
committerWolfgang Denk2011-10-05 15:22:16 -0500
commite2a53458a7ab375233048e922c4adf494866a78f (patch)
tree0d703e3070ba43394fae714629c09c998bf5b80d /api
parentd90f0c107bdb9766aeaf11181b97f5d7fde3efda (diff)
downloadu-boot-e2a53458a7ab375233048e922c4adf494866a78f.tar.gz
u-boot-e2a53458a7ab375233048e922c4adf494866a78f.tar.xz
u-boot-e2a53458a7ab375233048e922c4adf494866a78f.zip
net: drop !NET_MULTI code
This is long over due. All but two net drivers have been converted, but those have now been dropped. The only thing left to do is actually delete all references to NET_MULTI and code that is compiled when that is not defined. So here we scrub the core code. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'api')
-rw-r--r--api/api_net.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/api/api_net.c b/api/api_net.c
index afe072e76a..cd80ea509a 100644
--- a/api/api_net.c
+++ b/api/api_net.c
@@ -34,10 +34,6 @@ DECLARE_GLOBAL_DATA_PTR;
34#define DEBUG 34#define DEBUG
35#undef DEBUG 35#undef DEBUG
36 36
37#if !defined(CONFIG_NET_MULTI)
38#error "API/net is currently only available for platforms with CONFIG_NET_MULTI"
39#endif
40
41#ifdef DEBUG 37#ifdef DEBUG
42#define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0) 38#define debugf(fmt, args...) do { printf("%s(): ", __func__); printf(fmt, ##args); } while (0)
43#else 39#else