From: Johan Hovold Date: Wed, 13 May 2020 10:09:44 +0000 (+0200) Subject: x86/apb_timer: Drop unused declaration and macro X-Git-Tag: v5.15~3777^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e027a2bc934fd05d52ec5b77d159efdfc485b5b3;p=platform%2Fkernel%2Flinux-starfive.git 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 Signed-off-by: Borislav Petkov Acked-by: Thomas Gleixner Link: https://lkml.kernel.org/r/20200513100944.9171-2-johan@kernel.org --- 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);