[rtems commit] mpc55xxevb/clock/clock-config.c: Remove unused variable warning

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


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

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

mpc55xxevb/clock/clock-config.c: Remove unused variable warning

---

 c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c b/c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c
index 5724f9b..4de9a52 100644
--- a/c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c
+++ b/c/src/lib/libbsp/powerpc/mpc55xxevb/clock/clock-config.c
@@ -86,7 +86,6 @@ static void mpc55xx_clock_handler_install(rtems_isr_entry isr)
 
 static void mpc55xx_clock_initialize(void)
 {
-  uint32_t mask;
   volatile struct EMIOS_CH_tag *regs = &EMIOS.CH [MPC55XX_CLOCK_EMIOS_CHANNEL];
   union EMIOS_CCR_tag ccr = MPC55XX_ZERO_FLAGS;
   union EMIOS_CSR_tag csr = MPC55XX_ZERO_FLAGS;
@@ -208,7 +207,6 @@ static void mpc55xx_clock_handler_install(rtems_isr_entry isr)
 
 static void mpc55xx_clock_initialize(void)
 {
-  uint32_t mask;
   volatile PIT_RTI_CHANNEL_tag *channel =
     &PIT_RTI.CHANNEL [MPC55XX_CLOCK_PIT_CHANNEL];
   uint64_t reference_clock = bsp_clock_speed;



More information about the vc mailing list