summaryrefslogtreecommitdiffstats
path: root/include/net.h
diff options
context:
space:
mode:
authorJan Remmet <j.remmet@phytec.de>2015-11-19 13:58:51 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2015-11-20 08:23:07 +0100
commitb9170a1bde192c691f15c4474ed2f1e7bfebbb41 (patch)
tree4523b933b0295129bb17f8fc6657f1f5d1d602cb /include/net.h
parentedc1bfa1fe475031a9b652e0500393cad7f15eae (diff)
downloadbarebox-b9170a1bde192c691f15c4474ed2f1e7bfebbb41.tar.gz
barebox-b9170a1bde192c691f15c4474ed2f1e7bfebbb41.tar.xz
net: eth: Remove ethaddr_param
commit d00db554 introduce ethaddr_param. But it is not initialized, so devinfo fails to show the mac. Remove it and use edev->ethaddr. Signed-off-by: Jan Remmet <j.remmet@phytec.de> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'include/net.h')
-rw-r--r--include/net.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net.h b/include/net.h
index d7a475132a..2a37a43a5c 100644
--- a/include/net.h
+++ b/include/net.h
@@ -60,7 +60,6 @@ struct eth_device {
IPaddr_t serverip;
IPaddr_t netmask;
IPaddr_t gateway;
- char ethaddr_param[6];
char ethaddr[6];
};