summaryrefslogtreecommitdiff
path: root/net/eth.c
diff options
context:
space:
mode:
Diffstat (limited to 'net/eth.c')
-rw-r--r--net/eth.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/eth.c b/net/eth.c
index 45e4a26d6fc..83d559c1204 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -60,6 +60,8 @@ int eth_getenv_enetaddr_by_index(int index, uchar *enetaddr)
return eth_getenv_enetaddr(enetvar, enetaddr);
}
+#ifdef CONFIG_NET_MULTI
+
static int eth_mac_skip(int index)
{
char enetvar[15];
@@ -68,8 +70,6 @@ static int eth_mac_skip(int index)
return ((skip_state = getenv(enetvar)) != NULL);
}
-#ifdef CONFIG_NET_MULTI
-
/*
* CPU and board-specific Ethernet initializations. Aliased function
* signals caller to move on