[rtems commit] arm/lpc22xx/clock/clockdrv.c: Remove unused variable warning

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


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

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

arm/lpc22xx/clock/clockdrv.c: Remove unused variable warning

---

 c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c b/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c
index e75fed8..4887d2a 100644
--- a/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c
+++ b/c/src/lib/libcpu/arm/lpc22xx/clock/clockdrv.c
@@ -101,7 +101,6 @@ rtems_irq_connect_data clock_isr_data = {
  */
 #define Clock_driver_support_initialize_hardware() \
   do { \
-    uint32_t mask; \
     /* disable and clear timer 0, set to  */ \
     T0TCR &= 0;                              \
     /* TC is incremented on every pclk.*/    \




More information about the vc mailing list