Skip to contentSkip to conversation

clocksource/drivers/arm_arch_timer: Remove arch_timer_rate1

PATCH Applied Jisheng Zhang 3 participants 3 messages May 11, 2021 – Jun 18, 2021

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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")

---

 drivers/clocksource/arm_arch_timer.c | 1 -
 1 file changed, 1 deletion(-)
drivers/clocksource/arm_arch_timer.c +0 -1
index fe1a82627d57..89a9e0524555 100644
@@ -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] = {
Signature · 1 line
2.31.0
merge bot Applied
#2 lore raw
In reply to Jisheng Zhang
The following commit has been merged into the timers/core branch of tip:

The following commit has been merged into the timers/core branch of tip:

Commit-ID:     4f9f4f0f6261e4b162dfcaf91e08824a7c93da07
Gitweb:        https://git.kernel.org/tip/4f9f4f0f6261e4b162dfcaf91e08824a7c93da07
Author:        Jisheng Zhang <[email protected]>
AuthorDate:    Tue, 11 May 2021 15:48:56 +08:00
Committer:     Daniel Lezcano <[email protected]>
CommitterDate: Thu, 03 Jun 2021 22:15:12 +02:00

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")
---
 drivers/clocksource/arm_arch_timer.c | 1 -
 1 file changed, 1 deletion(-)
drivers/clocksource/arm_arch_timer.c +0 -1
index fe1a826..89a9e05 100644
@@ -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] = {