diff options
author | Wolfgang Denk <wd@denx.de> | 2009-03-28 16:17:29 +0100 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2009-03-28 16:17:29 +0100 |
commit | 97b05d7d524a6b4f195f07b8f90e98561a85596c (patch) | |
tree | 210408a74e00b7695e0bb11597bab7e387f583c5 /post | |
parent | 2dce551e10728f9e5655279f761f1d3cc0a8fe90 (diff) | |
download | u-boot-artik-97b05d7d524a6b4f195f07b8f90e98561a85596c.tar.gz u-boot-artik-97b05d7d524a6b4f195f07b8f90e98561a85596c.tar.bz2 u-boot-artik-97b05d7d524a6b4f195f07b8f90e98561a85596c.zip |
mpc8xx/ether.c: fix warning: unused variable 'bd'
Also minor coding style cleanup.
Signed-off-by: Wolfgang Denk <wd@denx.de>
Diffstat (limited to 'post')
-rw-r--r-- | post/cpu/mpc8xx/ether.c | 18 |
1 files changed, 12 insertions, 6 deletions
diff --git a/post/cpu/mpc8xx/ether.c b/post/cpu/mpc8xx/ether.c index fe6c39eb3..43ea81772 100644 --- a/post/cpu/mpc8xx/ether.c +++ b/post/cpu/mpc8xx/ether.c @@ -109,14 +109,20 @@ static RTXBD *rtx; static void scc_init (int scc_index) { - bd_t *bd = gd->bd; uchar ea[6]; - static int proff[] = - { PROFF_SCC1, PROFF_SCC2, PROFF_SCC3, PROFF_SCC4 }; - static unsigned int cpm_cr[] = - { CPM_CR_CH_SCC1, CPM_CR_CH_SCC2, CPM_CR_CH_SCC3, -CPM_CR_CH_SCC4 }; + static int proff[] = { + PROFF_SCC1, + PROFF_SCC2, + PROFF_SCC3, + PROFF_SCC4, + }; + static unsigned int cpm_cr[] = { + CPM_CR_CH_SCC1, + CPM_CR_CH_SCC2, + CPM_CR_CH_SCC3, + CPM_CR_CH_SCC4, + }; int i; scc_enet_t *pram_ptr; |