From: Wolfgang Denk Date: Sat, 28 Mar 2009 15:17:29 +0000 (+0100) Subject: mpc8xx/ether.c: fix warning: unused variable 'bd' X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=97b05d7d524a6b4f195f07b8f90e98561a85596c;p=project%2Fbcm63xx%2Fu-boot.git mpc8xx/ether.c: fix warning: unused variable 'bd' Also minor coding style cleanup. Signed-off-by: Wolfgang Denk --- diff --git a/post/cpu/mpc8xx/ether.c b/post/cpu/mpc8xx/ether.c index fe6c39eb3c..43ea817724 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;