Skip to contentSkip to conversation

hpet: remove hpets::hp_clocksource

PATCH In review Jiri Slaby (SUSE) 2 participants 2 messages Feb 13, 2024

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

PATCH 1/1 hpet: remove hpets::hp_clocksource

Commit cf8e8658100d (arch: Remove Itanium (IA-64) architecture) removed the last user of hpets::hp_clocksource. Drop the member.

Found by https://github.com/jirislaby/clang-struct.

Cc Clemens Ladisch <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>
---
 drivers/char/hpet.c | 1 -
 1 file changed, 1 deletion(-)
drivers/char/hpet.c +0 -1
index 9c90b1d2c036..d51fc8321d41 100644
@@ -87,7 +87,6 @@ struct hpets {
 	struct hpets *hp_next;
 	struct hpet __iomem *hp_hpet;
 	unsigned long hp_hpet_phys;
-	struct clocksource *hp_clocksource;
 	unsigned long long hp_tick_freq;
 	unsigned long hp_delta;
 	unsigned int hp_ntimer;
Signature · 1 line
2.43.1
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 4 lines · Jiri Slaby (SUSE)

Commit cf8e8658100d (arch: Remove Itanium (IA-64) architecture) removed the last user of hpets::hp_clocksource. Drop the member.

Found by https://github.com/jirislaby/clang-struct.

Nice tool!

Quoted 4 lines
Cc Clemens Ladisch <[email protected]>
Cc Arnd Bergmann <[email protected]>
Cc Greg Kroah-Hartman <[email protected]>