aboutsummaryrefslogtreecommitdiff
path: root/arch/sh/include
diff options
context:
space:
mode:
authorPaul Mundt <lethal@linux-sh.org>2009-05-03 18:18:14 +0900
committerPaul Mundt <lethal@linux-sh.org>2009-05-03 18:18:14 +0900
commitdec56e6312434b2536fedf9d7e9e73d666aaf0a8 (patch)
tree74a85790e34e1f42613e1aa66717498f387c2799 /arch/sh/include
parent938edae11ee3a7b20b6d754074a0f2c2edc4534b (diff)
sh: Kill off the now unused ARCH_USES_GETTIMEOFFSET code.
Now that the stragglers (MTU2/CMT/etc.) have been rewritten and we are selecting both GENERIC_TIME and GENERIC_CLOCKEVENTS, the get_offset() timer op is completely unused. As a result, we are now able to kill off the ARCH_USES_GETTIMEOFFSET references. Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/sh/include')
-rw-r--r--arch/sh/include/asm/timer.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/arch/sh/include/asm/timer.h b/arch/sh/include/asm/timer.h
index 581e3fe3fe0..cb16645d839 100644
--- a/arch/sh/include/asm/timer.h
+++ b/arch/sh/include/asm/timer.h
@@ -9,9 +9,6 @@ struct sys_timer_ops {
int (*init)(void);
int (*start)(void);
int (*stop)(void);
-#ifdef CONFIG_ARCH_USES_GETTIMEOFFSET
- unsigned long (*get_offset)(void);
-#endif
};
struct sys_timer {
@@ -26,13 +23,6 @@ struct sys_timer {
extern struct sys_timer tmu_timer;
extern struct sys_timer *sys_timer;
-#ifdef CONFIG_ARCH_USES_GETTIMEOFFSET
-static inline unsigned long get_timer_offset(void)
-{
- return sys_timer->ops->get_offset();
-}
-#endif
-
/* arch/sh/kernel/timers/timer.c */
struct sys_timer *get_sys_timer(void);