[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>
This commit is contained in:
committed by
Linus Torvalds
parent
537ae946e8
commit
602cc24181
@ -55,15 +55,8 @@ void sig_handler(int sig, struct sigcontext *sc)
|
||||
set_signals(enabled);
|
||||
}
|
||||
|
||||
extern int timer_irq_inited;
|
||||
|
||||
static void real_alarm_handler(int sig, struct sigcontext *sc)
|
||||
{
|
||||
if(!timer_irq_inited){
|
||||
signals_enabled = 1;
|
||||
return;
|
||||
}
|
||||
|
||||
if(sig == SIGALRM)
|
||||
switch_timers(0);
|
||||
|
||||
|
Reference in New Issue
Block a user