[rtems commit] powerpc/shared/clock/clock.c: Remove unused variable warning

Joel Sherril joel at rtems.org
Thu May 21 15:29:13 UTC 2015


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

Author:    Joel Sherrill <joel.sherrill at oarcorp.com>
Date:      Thu May 21 05:54:12 2015 -0700

powerpc/shared/clock/clock.c: Remove unused variable warning

---

 c/src/lib/libbsp/powerpc/shared/clock/clock.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/c/src/lib/libbsp/powerpc/shared/clock/clock.c b/c/src/lib/libbsp/powerpc/shared/clock/clock.c
index d2f2d0d..431488a 100644
--- a/c/src/lib/libbsp/powerpc/shared/clock/clock.c
+++ b/c/src/lib/libbsp/powerpc/shared/clock/clock.c
@@ -185,7 +185,6 @@ rtems_device_driver Clock_initialize(
   uint64_t frequency = bsp_time_base_frequency;
   uint64_t us_per_tick = rtems_configuration_get_microseconds_per_tick();
   uint32_t interval = (uint32_t) ((frequency * us_per_tick) / 1000000);
-  uint32_t mask;
 
   /*
    * Set default ticker.




More information about the vc mailing list