summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2017-11-20 23:43:21 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2017-12-14 14:30:19 +0100
commit2319503ed22a6daea00de1c6f0965fcc4e649dd2 (patch)
tree386b78b23ee39ab57e1f07b22cbc88c4e38f2d0e /include/net.h
parent4362c73ac768ad7218982fc1ccf8ae04285c27d1 (diff)
downloadbarebox-2319503ed22a6daea00de1c6f0965fcc4e649dd2.tar.gz
barebox-2319503ed22a6daea00de1c6f0965fcc4e649dd2.tar.xz
net: remove "current" network device
Now that we can do routing we no longer need a "current" network device. Remove it. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net.h b/include/net.h
index 3faecff5d7..9f98b6f4df 100644
--- a/include/net.h
+++ b/include/net.h
@@ -413,8 +413,6 @@ static inline int is_valid_ether_addr(const u8 *addr)
typedef void rx_handler_f(void *ctx, char *packet, unsigned int len);
-void eth_set_current(struct eth_device *eth);
-struct eth_device *eth_get_current(void);
struct eth_device *eth_get_byname(const char *name);
/**