[rtems commit] score: Fix warning

Sebastian Huber sebh at rtems.org
Tue Apr 22 07:30:13 UTC 2014


Module:    rtems
Branch:    master
Commit:    f17e1716879a3594a3f40fd5cb1479b81a14fe7d
Changeset: http://git.rtems.org/rtems/commit/?id=f17e1716879a3594a3f40fd5cb1479b81a14fe7d

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Apr 22 07:46:51 2014 +0200

score: Fix warning

---

 cpukit/score/src/thread.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/cpukit/score/src/thread.c b/cpukit/score/src/thread.c
index f67a297..3cf061f 100644
--- a/cpukit/score/src/thread.c
+++ b/cpukit/score/src/thread.c
@@ -23,8 +23,6 @@
 
 void _Thread_Handler_initialization(void)
 {
-  uint32_t ticks_per_timeslice =
-    rtems_configuration_get_ticks_per_timeslice();
   rtems_stack_allocate_init_hook stack_allocate_init_hook =
     rtems_configuration_get_stack_allocate_init_hook();
   #if defined(RTEMS_MULTIPROCESSING)




More information about the vc mailing list