summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2012-09-26 22:42:58 +0200
committerSascha Hauer <s.hauer@pengutronix.de>2012-09-27 23:55:16 +0200
commitb5f4213be65b640a1f649bfe85386a0efe167cc7 (patch)
tree4855bcc11aa6f4427ca769ef2e9e2fb893d5351e /include/net.h
parent0dc9de2efd7ea6fb613afec822b52b4bfe5a7b2e (diff)
downloadbarebox-b5f4213be65b640a1f649bfe85386a0efe167cc7.tar.gz
barebox-b5f4213be65b640a1f649bfe85386a0efe167cc7.tar.xz
net: remove unused prototypes for eth_[open|halt]
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 39fad12d3f..e4f6f86ad0 100644
--- a/include/net.h
+++ b/include/net.h
@@ -59,10 +59,8 @@ struct eth_device {
int eth_register(struct eth_device* dev); /* Register network device */
void eth_unregister(struct eth_device* dev); /* Unregister network device */
-int eth_open(void); /* open the device */
int eth_send(void *packet, int length); /* Send a packet */
int eth_rx(void); /* Check for received packets */
-void eth_halt(void); /* stop SCC */
/* associate a MAC address to a ethernet device. Should be called by
* board code for boards which store their MAC address at some unusual