summaryrefslogtreecommitdiff
path: root/drivers
diff options
context:
space:
mode:
authorJisheng Zhang <Jisheng.Zhang@synaptics.com>2021-05-11 10:48:56 +0300
committerDaniel Lezcano <daniel.lezcano@linaro.org>2021-06-03 23:15:12 +0300
commit4f9f4f0f6261e4b162dfcaf91e08824a7c93da07 (patch)
tree1419b7d97a9e66409308194c658912ad3aca54c7 /drivers
parent245a057fee18be08d6ac12357463579d06bea077 (diff)
downloadlinux-4f9f4f0f6261e4b162dfcaf91e08824a7c93da07.tar.xz
clocksource/drivers/arm_arch_timer: Remove arch_timer_rate1
This variable is added by my mistake, it's not used at all. Fixes: e2bf384d4329 ("clocksource/drivers/arm_arch_timer: Add __ro_after_init and __init") Signed-off-by: Jisheng Zhang <Jisheng.Zhang@synaptics.com> Reported-by: Hulk Robot <hulkci@huawei.com> Acked-by: Marc Zyngier <maz@kernel.org> Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Link: https://lore.kernel.org/r/20210511154856.6afbcb65@xhacker.debian
Diffstat (limited to 'drivers')
-rw-r--r--drivers/clocksource/arm_arch_timer.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/clocksource/arm_arch_timer.c b/drivers/clocksource/arm_arch_timer.c
index fe1a82627d57..89a9e0524555 100644
--- a/drivers/clocksource/arm_arch_timer.c
+++ b/drivers/clocksource/arm_arch_timer.c
@@ -64,7 +64,6 @@ struct arch_timer {
#define to_arch_timer(e) container_of(e, struct arch_timer, evt)
static u32 arch_timer_rate __ro_after_init;
-u32 arch_timer_rate1 __ro_after_init;
static int arch_timer_ppi[ARCH_TIMER_MAX_TIMER_PPI] __ro_after_init;
static const char *arch_timer_ppi_names[ARCH_TIMER_MAX_TIMER_PPI] = {