aboutsummaryrefslogtreecommitdiffstats
path: root/arch/um/kernel/time.c
diff options
context:
space:
mode:
authorJeff Dike <jdike@addtoit.com>2006-09-26 02:33:06 -0400
committerLinus Torvalds <torvalds@g5.osdl.org>2006-09-26 11:49:08 -0400
commit602cc2418177a5b80f533f569e5a42c4495988c9 (patch)
treea2b218e7850cbb2622de9dd20b3ea4f9895bd74f /arch/um/kernel/time.c
parent537ae946e808d0f22d660f7a3500832fe0c07d14 (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/kernel/time.c')
-rw-r--r--arch/um/kernel/time.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/um/kernel/time.c b/arch/um/kernel/time.c
index d1d799346e04..2454bbd9555d 100644
--- a/arch/um/kernel/time.c
+++ b/arch/um/kernel/time.c
@@ -35,9 +35,6 @@ unsigned long long sched_clock(void)
35 return (unsigned long long)jiffies_64 * (1000000000 / HZ); 35 return (unsigned long long)jiffies_64 * (1000000000 / HZ);
36} 36}
37 37
38/* Changed at early boot */
39int timer_irq_inited = 0;
40
41static unsigned long long prev_nsecs; 38static unsigned long long prev_nsecs;
42#ifdef CONFIG_UML_REAL_TIME_CLOCK 39#ifdef CONFIG_UML_REAL_TIME_CLOCK
43static long long delta; /* Deviation per interval */ 40static long long delta; /* Deviation per interval */
@@ -116,8 +113,6 @@ static void register_timer(void)
116 printk(KERN_ERR "register_timer : request_irq failed - " 113 printk(KERN_ERR "register_timer : request_irq failed - "
117 "errno = %d\n", -err); 114 "errno = %d\n", -err);
118 115
119 timer_irq_inited = 1;
120
121 err = set_interval(1); 116 err = set_interval(1);
122 if(err != 0) 117 if(err != 0)
123 printk(KERN_ERR "register_timer : set_interval failed - " 118 printk(KERN_ERR "register_timer : set_interval failed - "