[rtems commit] shared/startup/bspstart.c: Remove myCpu variables and clean up
Joel Sherrill
joel at rtems.org
Thu Oct 16 13:50:01 UTC 2014
Module: rtems
Branch: master
Commit: c506cc9845a9e0291b1c4510523cd68b3ad9e993
Changeset: http://git.rtems.org/rtems/commit/?id=c506cc9845a9e0291b1c4510523cd68b3ad9e993
Author: Joel Sherrill <joel.sherrill at oarcorp.com>
Date: Mon Oct 13 15:52:00 2014 -0500
shared/startup/bspstart.c: Remove myCpu variables and clean up
---
c/src/lib/libbsp/powerpc/shared/startup/bspstart.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
index e1c0571..6d7696c 100644
--- a/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
+++ b/c/src/lib/libbsp/powerpc/shared/startup/bspstart.c
@@ -141,8 +141,6 @@ void bsp_start( void )
#endif
uintptr_t intrStackStart;
uintptr_t intrStackSize;
-/* ppc_cpu_id_t myCpu; */
-/* ppc_cpu_revision_t myCpuRevision; */
prep_t boardManufacturer;
motorolaBoard myBoard;
Triv121PgTbl pt=0;
@@ -152,8 +150,8 @@ void bsp_start( void )
* function store 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();
/*
* Init MMU block address translation to enable hardware access
More information about the vc
mailing list