diff options
author | Mike Frysinger <michael.frysinger@analog.com> | 2007-07-12 10:58:21 -0400 |
---|---|---|
committer | Bryan Wu <bryan.wu@analog.com> | 2007-07-12 10:58:21 -0400 |
commit | 1f83b8f148a1eb967d2a628cbb741cd56fb54572 (patch) | |
tree | 43b56238822ab35ec90a9ee9e9c014247950622f /arch/blackfin/kernel/time.c | |
parent | 669b792c77bbc30e9f4d9c95dbc918dc348c49c2 (diff) |
Blackfin arch: cleanup warnings from checkpatch -- no functional changes
Signed-off-by: Mike Frysinger <michael.frysinger@analog.com>
Signed-off-by: Bryan Wu <bryan.wu@analog.com>
Diffstat (limited to 'arch/blackfin/kernel/time.c')
-rw-r--r-- | arch/blackfin/kernel/time.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/blackfin/kernel/time.c b/arch/blackfin/kernel/time.c index f578176b6d92..beef057bd1dc 100644 --- a/arch/blackfin/kernel/time.c +++ b/arch/blackfin/kernel/time.c | |||
@@ -87,7 +87,7 @@ void __init init_leds(void) | |||
87 | static inline void do_leds(void) | 87 | static inline void do_leds(void) |
88 | { | 88 | { |
89 | static unsigned int count = 50; | 89 | static unsigned int count = 50; |
90 | static int flag = 0; | 90 | static int flag; |
91 | unsigned short tmp = 0; | 91 | unsigned short tmp = 0; |
92 | 92 | ||
93 | if (--count == 0) { | 93 | if (--count == 0) { |
@@ -200,7 +200,7 @@ irqreturn_t timer_interrupt(int irq, void *dummy)__attribute__((l1_text)); | |||
200 | irqreturn_t timer_interrupt(int irq, void *dummy) | 200 | irqreturn_t timer_interrupt(int irq, void *dummy) |
201 | { | 201 | { |
202 | /* last time the cmos clock got updated */ | 202 | /* last time the cmos clock got updated */ |
203 | static long last_rtc_update = 0; | 203 | static long last_rtc_update; |
204 | 204 | ||
205 | write_seqlock(&xtime_lock); | 205 | write_seqlock(&xtime_lock); |
206 | 206 | ||