]> git.dujemihanovic.xyz Git - u-boot.git/commit
net/eth.c: eth_mac_skip() is only needed when CONFIG_NET_MULTI is set
authorWolfgang Denk <wd@denx.de>
Sun, 20 Jun 2010 10:30:22 +0000 (12:30 +0200)
committerWolfgang Denk <wd@denx.de>
Sun, 20 Jun 2010 10:30:22 +0000 (12:30 +0200)
commit9c00b2f0a3fe0f779761607024f99b7690c9776c
tree00ff9c621e2b27fcdc215f47a6a64f364a039898
parent9312bba01a41191f20821b66b84b3ff1d2902e8a
net/eth.c: eth_mac_skip() is only needed when CONFIG_NET_MULTI is set

Move it inside the #ifdef CONFIG_NET_MULTI to avoid

eth.c:64: warning: 'eth_mac_skip' defined but not used

messages from anumber of old, non-CONFIG_NET_MULTI boards.

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Ben Warren <biggerbadderben@gmail.com>
net/eth.c