[tip: x86/cleanups] x86/apb_timer: Drop unused declaration and macro

From: tip-bot2 for Johan Hovold
Date: Wed May 27 2020 - 07:25:39 EST


The following commit has been merged into the x86/cleanups branch of tip:

Commit-ID: e027a2bc934fd05d52ec5b77d159efdfc485b5b3
Gitweb: https://git.kernel.org/tip/e027a2bc934fd05d52ec5b77d159efdfc485b5b3
Author: Johan Hovold <johan@xxxxxxxxxx>
AuthorDate: Wed, 13 May 2020 12:09:44 +02:00
Committer: Borislav Petkov <bp@xxxxxxx>
CommitterDate: Wed, 27 May 2020 13:12:49 +02:00

x86/apb_timer: Drop unused declaration and macro

Drop an extern declaration that has never been used and a no longer
needed macro.

Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
Signed-off-by: Borislav Petkov <bp@xxxxxxx>
Acked-by: Thomas Gleixner <tglx@xxxxxxxxxxxxx>
Link: https://lkml.kernel.org/r/20200513100944.9171-2-johan@xxxxxxxxxx
---
arch/x86/include/asm/apb_timer.h | 3 ---
1 file changed, 3 deletions(-)

diff --git a/arch/x86/include/asm/apb_timer.h b/arch/x86/include/asm/apb_timer.h
index 0a9bf8b..87ce8e9 100644
--- a/arch/x86/include/asm/apb_timer.h
+++ b/arch/x86/include/asm/apb_timer.h
@@ -25,10 +25,7 @@
#define APBT_MIN_FREQ 1000000
#define APBT_MMAP_SIZE 1024

-#define APBT_DEV_USED 1
-
extern void apbt_time_init(void);
-extern int arch_setup_apbt_irqs(int irq, int trigger, int mask, int cpu);
extern void apbt_setup_secondary_clock(void);

extern struct sfi_timer_table_entry *sfi_get_mtmr(int hint);