Skip to content

Commit

Permalink
sparc32: Delete master_l10_limit.
Browse files Browse the repository at this point in the history
It is only set, never used.

Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
David S. Miller committed Sep 20, 2008
1 parent 8bd8dee commit c7e606a
Show file tree
Hide file tree
Showing 5 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion arch/sparc/include/asm/timer_32.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include <asm/btfixup.h>

extern __volatile__ unsigned int *master_l10_counter;
extern __volatile__ unsigned int *master_l10_limit;

/* FIXME: Make do_[gs]ettimeofday btfixup calls */
BTFIXUPDEF_CALL(int, bus_do_settimeofday, struct timespec *tv)
Expand Down
1 change: 0 additions & 1 deletion arch/sparc/kernel/sun4c_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ static void __init sun4c_init_timers(irq_handler_t counter_fn)
sbus_writel((((1000000/HZ) + 1) << 10), &sun4c_timers->l10_limit);

master_l10_counter = &sun4c_timers->l10_count;
master_l10_limit = &sun4c_timers->l10_limit;

err = request_irq(irq[0].pri, counter_fn,
(IRQF_DISABLED | SA_STATIC_ALLOC),
Expand Down
1 change: 0 additions & 1 deletion arch/sparc/kernel/sun4d_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -526,7 +526,6 @@ static void __init sun4d_init_timers(irq_handler_t counter_fn)
sbus_writel((((1000000/HZ) + 1) << 10), &sun4d_timers->l10_timer_limit);

master_l10_counter = &sun4d_timers->l10_cur_count;
master_l10_limit = &sun4d_timers->l10_timer_limit;

err = request_irq(TIMER_IRQ, counter_fn,
(IRQF_DISABLED | SA_STATIC_ALLOC),
Expand Down
1 change: 0 additions & 1 deletion arch/sparc/kernel/sun4m_irq.c
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,6 @@ static void __init sun4m_init_timers(irq_handler_t counter_fn)
sbus_writel((((1000000/HZ) + 1) << 10), &timers_global->l10_limit);

master_l10_counter = &timers_global->l10_count;
master_l10_limit = &timers_global->l10_limit;

err = request_irq(TIMER_IRQ, counter_fn,
(IRQF_DISABLED | SA_STATIC_ALLOC), "timer", NULL);
Expand Down
1 change: 0 additions & 1 deletion arch/sparc/kernel/time.c
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ unsigned long profile_pc(struct pt_regs *regs)
EXPORT_SYMBOL(profile_pc);

__volatile__ unsigned int *master_l10_counter;
__volatile__ unsigned int *master_l10_limit;

/*
* timer_interrupt() needs to keep up the real-time clock,
Expand Down

0 comments on commit c7e606a

Please sign in to comment.