4xx_enet.c: Fix GCC 4.6 build warnings
authorStefan Roese <sr@denx.de>
Tue, 15 Nov 2011 08:01:58 +0000 (08:01 +0000)
committerWolfgang Denk <wd@denx.de>
Wed, 16 Nov 2011 20:14:14 +0000 (21:14 +0100)
commitf0813ab128a6f3e651454f4fca39bce32c90fe62
tree8da7214acbf888b35eb3844a9802662f1f16aaae
parentaf0af524ed80f5a5d048e2b283cff325c0dbe9c2
4xx_enet.c: Fix GCC 4.6 build warnings

Fix:
4xx_enet.c: In function 'ppc_4xx_eth_init':
4xx_enet.c:875:6: warning: variable 'ethgroup' set but not used [-Wunused-but-set-variable]

I used "__maybe_unused" here intentionally, since all other
alternatives to fix this compilation warning would result in more
ifdef's.

Signed-off-by: Stefan Roese <sr@denx.de>
drivers/net/4xx_enet.c