diff options
| author | Ralf Baechle <ralf@linux-mips.org> | 2009-05-22 05:58:43 -0400 |
|---|---|---|
| committer | Ralf Baechle <ralf@linux-mips.org> | 2009-05-22 08:52:06 -0400 |
| commit | d2f82c2f70d56ba4623de25edb383fec01f43b89 (patch) | |
| tree | e9403e64c7f40f8dd9a6fe43e4f332f6d1e7f836 | |
| parent | 63c901c7e6fb878805cd2f8f14fa3eee8c03ee84 (diff) | |
MIPS: IP32: Remove unnecessary if not even harmful volatile keywords.
They are unneeded and as the issue fixed in lmo commit
63f7ec59053e3f850ab67a9938e631bcba64c6ce shows even harmful.
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
| -rw-r--r-- | arch/mips/sgi-ip32/ip32-reset.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/mips/sgi-ip32/ip32-reset.c b/arch/mips/sgi-ip32/ip32-reset.c index cc549a9a99e8..9b95d80ebc6e 100644 --- a/arch/mips/sgi-ip32/ip32-reset.c +++ b/arch/mips/sgi-ip32/ip32-reset.c | |||
| @@ -53,7 +53,7 @@ static inline void ip32_machine_halt(void) | |||
| 53 | 53 | ||
| 54 | static void ip32_machine_power_off(void) | 54 | static void ip32_machine_power_off(void) |
| 55 | { | 55 | { |
| 56 | volatile unsigned char reg_a, xctrl_a, xctrl_b; | 56 | unsigned char reg_a, xctrl_a, xctrl_b; |
| 57 | 57 | ||
| 58 | disable_irq(MACEISA_RTC_IRQ); | 58 | disable_irq(MACEISA_RTC_IRQ); |
| 59 | reg_a = CMOS_READ(RTC_REG_A); | 59 | reg_a = CMOS_READ(RTC_REG_A); |
| @@ -91,7 +91,7 @@ static void blink_timeout(unsigned long data) | |||
| 91 | 91 | ||
| 92 | static void debounce(unsigned long data) | 92 | static void debounce(unsigned long data) |
| 93 | { | 93 | { |
| 94 | volatile unsigned char reg_a, reg_c, xctrl_a; | 94 | unsigned char reg_a, reg_c, xctrl_a; |
| 95 | 95 | ||
| 96 | reg_c = CMOS_READ(RTC_INTR_FLAGS); | 96 | reg_c = CMOS_READ(RTC_INTR_FLAGS); |
| 97 | reg_a = CMOS_READ(RTC_REG_A); | 97 | reg_a = CMOS_READ(RTC_REG_A); |
| @@ -138,7 +138,7 @@ static inline void ip32_power_button(void) | |||
| 138 | 138 | ||
| 139 | static irqreturn_t ip32_rtc_int(int irq, void *dev_id) | 139 | static irqreturn_t ip32_rtc_int(int irq, void *dev_id) |
| 140 | { | 140 | { |
| 141 | volatile unsigned char reg_c; | 141 | unsigned char reg_c; |
| 142 | 142 | ||
| 143 | reg_c = CMOS_READ(RTC_INTR_FLAGS); | 143 | reg_c = CMOS_READ(RTC_INTR_FLAGS); |
| 144 | if (!(reg_c & RTC_IRQF)) { | 144 | if (!(reg_c & RTC_IRQF)) { |
