]> git.sur5r.net Git - u-boot/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:32:37 +0000 (12:32 +0200)
committerBen Warren <biggerbadderben@gmail.com>
Mon, 21 Jun 2010 05:13:18 +0000 (22:13 -0700)
commit6de27bdc788e7c4532ee0721ae291aeb5df475dc
treed620c692877c589afe2876596cd43e8e84cb94ad
parente397e59e861aa818cda12a23206dde06f7e9f660
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 a number of old, non-CONFIG_NET_MULTI boards.

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