diff options
author | Jeff Dike <jdike@addtoit.com> | 2006-09-26 02:33:06 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-09-26 11:49:08 -0400 |
commit | 602cc2418177a5b80f533f569e5a42c4495988c9 (patch) | |
tree | a2b218e7850cbb2622de9dd20b3ea4f9895bd74f /arch/um/os-Linux/signal.c | |
parent | 537ae946e808d0f22d660f7a3500832fe0c07d14 (diff) |
[PATCH] uml: Remove unused variable
timer_irq_inited was useless, so it is removed.
Signed-off-by: Jeff Dike <jdike@addtoit.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'arch/um/os-Linux/signal.c')
-rw-r--r-- | arch/um/os-Linux/signal.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/um/os-Linux/signal.c b/arch/um/os-Linux/signal.c index 55b62e2b8f41..6b81739279d1 100644 --- a/arch/um/os-Linux/signal.c +++ b/arch/um/os-Linux/signal.c | |||
@@ -55,15 +55,8 @@ void sig_handler(int sig, struct sigcontext *sc) | |||
55 | set_signals(enabled); | 55 | set_signals(enabled); |
56 | } | 56 | } |
57 | 57 | ||
58 | extern int timer_irq_inited; | ||
59 | |||
60 | static void real_alarm_handler(int sig, struct sigcontext *sc) | 58 | static void real_alarm_handler(int sig, struct sigcontext *sc) |
61 | { | 59 | { |
62 | if(!timer_irq_inited){ | ||
63 | signals_enabled = 1; | ||
64 | return; | ||
65 | } | ||
66 | |||
67 | if(sig == SIGALRM) | 60 | if(sig == SIGALRM) |
68 | switch_timers(0); | 61 | switch_timers(0); |
69 | 62 | ||