[PATCH 09/62] powerpc/mbx8xx: Fix unused variable warnings

Joel Sherrill joel.sherrill at oarcorp.com
Wed Oct 15 19:59:59 UTC 2014


---
 c/src/lib/libbsp/powerpc/mbx8xx/startup/imbx8xx.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/mbx8xx/startup/imbx8xx.c b/c/src/lib/libbsp/powerpc/mbx8xx/startup/imbx8xx.c
index 5174a2d..93fb2e9 100644
--- a/c/src/lib/libbsp/powerpc/mbx8xx/startup/imbx8xx.c
+++ b/c/src/lib/libbsp/powerpc/mbx8xx/startup/imbx8xx.c
@@ -27,6 +27,7 @@
  */
 uint32_t   simask_copy = 0;
 
+#if 0
 /*
  *  The memory controller's UPMA Ram array values.
  *  The values in table 2-6 and 2-7 in the "MBX Series Embedded
@@ -148,6 +149,7 @@ static uint32_t   upmaTable[64] = {
 #error "MBX board model not specified."
 #endif
 };
+#endif
 
 #if ( !defined(EPPCBUG_VECTORS) )
   extern uint32_t   simask_copy;
@@ -158,9 +160,6 @@ static uint32_t   upmaTable[64] = {
  */
 void _InitMBX8xx (void)
 {
-#if ( !defined(EPPCBUG_VECTORS) )
-  uint32_t i;
-#endif
   register uint32_t   r1;
 
   /*
-- 
1.9.3




More information about the devel mailing list