diff mbox series

clocksource/drivers/arm_arch_timer: Remove arch_timer_rate1

Message ID 20210511154856.6afbcb65@xhacker.debian (mailing list archive)
State New, archived
Headers show
Series clocksource/drivers/arm_arch_timer: Remove arch_timer_rate1 | expand

Commit Message

Jisheng Zhang May 11, 2021, 7:48 a.m. UTC
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>
---

 drivers/clocksource/arm_arch_timer.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Marc Zyngier May 11, 2021, 8:37 a.m. UTC | #1
On Tue, 11 May 2021 08:48:56 +0100,
Jisheng Zhang <Jisheng.Zhang@synaptics.com> wrote:
> 
> 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>

	M.
diff mbox series

Patch

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] = {