]> git.sur5r.net Git - u-boot/commit
mpc8xx/fec.c: Fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Fri, 4 Nov 2011 15:55:21 +0000 (15:55 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:11:42 +0000 (22:11 +0100)
commit90357f14938806010841cad6c7782bf3b91b0c46
tree3fd496318f16ba78e17d8fdadcaff6baa49e56a5
parenta9a62af1f93986174be852ee68d2b524278563cf
mpc8xx/fec.c: Fix GCC 4.6 build warnings

Fix:
fec.c: In function 'fec_pin_init':
fec.c:381:18: warning: variable 'fecp' set but not used
[-Wunused-but-set-variable]
fec.c: In function 'fec8xx_miiphy_write':
fec.c:1013:8: warning: variable 'rdreg' set but not used
[-Wunused-but-set-variable]

Note: The code was slightly rearranged, but no functional changes
attempted, i. e. no conversion to use I/O accessors.

Signed-off-by: Wolfgang Denk <wd@denx.de>
arch/powerpc/cpu/mpc8xx/fec.c