diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-11-16 17:41:56 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2010-11-16 17:41:56 +0000 |
commit | fc8a8aab531a214a58697130ff217b65f79c9b2a (patch) | |
tree | 98fc793886a8cb8ad76ef6a87fb85d21ad3951a0 /cpukit/score/cpu | |
parent | 2010-11-12 Sebastian Huber <sebastian.huber@embedded-brains.de> (diff) | |
download | rtems-fc8a8aab531a214a58697130ff217b65f79c9b2a.tar.bz2 |
2010-11-16 Joel Sherrill <joel.sherrill@oarcorp.com>
* cpu.c: Remove unused variable reported by clang.
Diffstat (limited to 'cpukit/score/cpu')
-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. */ |