ep1a/startup/bspstart.c: Remove myCpu variables and clean up

This commit is contained in:
Joel Sherrill
2014-10-13 15:52:00 -05:00
parent 01746c4fcf
commit 5271fd0a8e

View File

@@ -243,7 +243,6 @@ void bsp_start( void )
uintptr_t intrStackStart; uintptr_t intrStackStart;
uintptr_t intrStackSize; uintptr_t intrStackSize;
ppc_cpu_id_t myCpu; ppc_cpu_id_t myCpu;
ppc_cpu_revision_t myCpuRevision;
Triv121PgTbl pt=0; /* R = e; */ Triv121PgTbl pt=0; /* R = e; */
/* /*
@@ -253,8 +252,7 @@ void bsp_start( void )
*/ */
BSP_Increment_Light(); BSP_Increment_Light();
myCpu = get_ppc_cpu_type(); myCpu = get_ppc_cpu_type();
myCpuRevision = get_ppc_cpu_revision(); get_ppc_cpu_revision();
(void) myCpuRevision; /* avoid set but not used warning */
EUMBBAR = get_eumbbar(); EUMBBAR = get_eumbbar();
printk("EUMBBAR 0x%08x\n", EUMBBAR ); printk("EUMBBAR 0x%08x\n", EUMBBAR );