summaryrefslogtreecommitdiffstats
path: root/arch/mips/kernel/time.c
diff options
context:
space:
mode:
authorPaul Burton <paul.burton@imgtec.com>2017-08-23 11:17:53 -0700
committerRalf Baechle <ralf@linux-mips.org>2017-08-29 15:21:55 +0200
commit7d630e83fcc14a6d9154d345a542ed3fbacdf5c5 (patch)
treeae06751559b28eecab7076d88c4cf6b8d75ea52f /arch/mips/kernel/time.c
parentfbdce1daea22a2753ca85b1e44414aee3d91a1fe (diff)
downloadtalos-obmc-linux-7d630e83fcc14a6d9154d345a542ed3fbacdf5c5.tar.gz
talos-obmc-linux-7d630e83fcc14a6d9154d345a542ed3fbacdf5c5.zip
MIPS: Remove plat_timer_setup()
The plat_timer_setup() function is entirely unused - nothing calls it, and no platforms provide it. Perhaps our dummy implementation was once useful as an aid in forward porting platforms, but its time has long since passed so let's remove the dead code. Signed-off-by: Paul Burton <paul.burton@imgtec.com> Cc: linux-mips@linux-mips.org Cc: trivial@kernel.org Patchwork: https://patchwork.linux-mips.org/patch/17175/ Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'arch/mips/kernel/time.c')
-rw-r--r--arch/mips/kernel/time.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/arch/mips/kernel/time.c b/arch/mips/kernel/time.c
index c036157fb891..a6ebc8135112 100644
--- a/arch/mips/kernel/time.c
+++ b/arch/mips/kernel/time.c
@@ -72,20 +72,6 @@ EXPORT_SYMBOL(perf_irq);
unsigned int mips_hpt_frequency;
EXPORT_SYMBOL_GPL(mips_hpt_frequency);
-/*
- * This function exists in order to cause an error due to a duplicate
- * definition if platform code should have its own implementation. The hook
- * to use instead is plat_time_init. plat_time_init does not receive the
- * irqaction pointer argument anymore. This is because any function which
- * initializes an interrupt timer now takes care of its own request_irq rsp.
- * setup_irq calls and each clock_event_device should use its own
- * struct irqrequest.
- */
-void __init plat_timer_setup(void)
-{
- BUG();
-}
-
static __init int cpu_has_mfc0_count_bug(void)
{
switch (current_cpu_type()) {
OpenPOWER on IntegriCloud