mpc8xx/ether.c: fix warning: unused variable 'bd'
Also minor coding style cleanup. Signed-off-by: Wolfgang Denk <wd@denx.de>
This commit is contained in:
parent
2dce551e10
commit
97b05d7d52
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user