[PATCH 19/62] ss555/startup/bspstart.c: Remove myCpu variables and clean up

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 15 20:00:09 UTC 2014


---
 c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c b/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c
index c4a9ded..f27df69 100644
--- a/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/ss555/startup/bspstart.c
@@ -78,8 +78,6 @@ void _BSP_Fatal_error(unsigned int v)
  */
 void bsp_start(void)
 {
-  ppc_cpu_id_t myCpu;
-  ppc_cpu_revision_t myCpuRevision;
   register unsigned char* intrStack;
 
   /*
@@ -87,8 +85,8 @@ void bsp_start(void)
    * function stores the result in global variables so that it can be used
    * later.
    */
-  myCpu 	= get_ppc_cpu_type();
-  myCpuRevision = get_ppc_cpu_revision();
+  get_ppc_cpu_type();
+  get_ppc_cpu_revision();
 
   /*
    * Initialize some SPRG registers related to irq handling
-- 
1.9.3




More information about the devel mailing list