提交 4f9f4f0f 编写于 作者: J Jisheng Zhang 提交者: Daniel Lezcano

clocksource/drivers/arm_arch_timer: Remove arch_timer_rate1

This variable is added by my mistake, it's not used at all.

Fixes: e2bf384d ("clocksource/drivers/arm_arch_timer: Add __ro_after_init and __init")
Signed-off-by: NJisheng Zhang <Jisheng.Zhang@synaptics.com>
Reported-by: NHulk Robot <hulkci@huawei.com>
Acked-by: NMarc Zyngier <maz@kernel.org>
Signed-off-by: NDaniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20210511154856.6afbcb65@xhacker.debian
上级 245a057f
...@@ -64,7 +64,6 @@ struct arch_timer { ...@@ -64,7 +64,6 @@ struct arch_timer {
#define to_arch_timer(e) container_of(e, struct arch_timer, evt) #define to_arch_timer(e) container_of(e, struct arch_timer, evt)
static u32 arch_timer_rate __ro_after_init; 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 int arch_timer_ppi[ARCH_TIMER_MAX_TIMER_PPI] __ro_after_init;
static const char *arch_timer_ppi_names[ARCH_TIMER_MAX_TIMER_PPI] = { static const char *arch_timer_ppi_names[ARCH_TIMER_MAX_TIMER_PPI] = {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册