diff options
-rw-r--r-- | cpukit/score/cpu/sparc/ChangeLog | 4 | ||||
-rw-r--r-- | cpukit/score/cpu/sparc/cpu.c | 3 |
2 files changed, 4 insertions, 3 deletions
diff --git a/cpukit/score/cpu/sparc/ChangeLog b/cpukit/score/cpu/sparc/ChangeLog index 150ada5de3..f66df09d55 100644 --- a/cpukit/score/cpu/sparc/ChangeLog +++ b/cpukit/score/cpu/sparc/ChangeLog @@ -1,3 +1,7 @@ +2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com> + + * cpu.c: Remove unused variable reported by clang. + 2010-10-21 Joel Sherrill <joel.sherrill@oarcorp.com> * rtems/score/cpu.h: Add RTEMS_COMPILER_NO_RETURN_ATTRIBUTE to diff --git a/cpukit/score/cpu/sparc/cpu.c b/cpukit/score/cpu/sparc/cpu.c index e45d252163..52ba52f738 100644 --- a/cpukit/score/cpu/sparc/cpu.c +++ b/cpukit/score/cpu/sparc/cpu.c @@ -281,7 +281,6 @@ void _CPU_Context_Initialize( ) { uint32_t stack_high; /* highest "stack aligned" address */ - uint32_t the_size; uint32_t tmp_psr; /* @@ -292,8 +291,6 @@ void _CPU_Context_Initialize( stack_high = ((uint32_t)(stack_base) + size); stack_high &= ~(CPU_STACK_ALIGNMENT - 1); - the_size = size & ~(CPU_STACK_ALIGNMENT - 1); - /* * See the README in this directory for a diagram of the stack. */ |