mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] hpet: remove hpets::hp_clocksource
@ 2024-02-13 11:15 Jiri Slaby (SUSE)
  2024-02-13 12:41 ` Arnd Bergmann
  0 siblings, 1 reply; 2+ messages in thread
From: Jiri Slaby (SUSE) @ 2024-02-13 11:15 UTC (permalink / raw)
  To: arnd; +Cc: linux-kernel, Jiri Slaby (SUSE), Clemens Ladisch, Greg Kroah-Hartman

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.

Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
Cc: Clemens Ladisch <clemens@ladisch.de>
Cc: Arnd Bergmann <arnd@arndb.de>
Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
---
 drivers/char/hpet.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/char/hpet.c b/drivers/char/hpet.c
index 9c90b1d2c036..d51fc8321d41 100644
--- a/drivers/char/hpet.c
+++ b/drivers/char/hpet.c
@@ -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;
-- 
2.43.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH] hpet: remove hpets::hp_clocksource
  2024-02-13 11:15 [PATCH] hpet: remove hpets::hp_clocksource Jiri Slaby (SUSE)
@ 2024-02-13 12:41 ` Arnd Bergmann
  0 siblings, 0 replies; 2+ messages in thread
From: Arnd Bergmann @ 2024-02-13 12:41 UTC (permalink / raw)
  To: Jiri Slaby; +Cc: linux-kernel, Clemens Ladisch, Greg Kroah-Hartman



On Tue, Feb 13, 2024, at 12:15, Jiri Slaby (SUSE) wrote:
> 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!

> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@kernel.org>
> Cc: Clemens Ladisch <clemens@ladisch.de>
> Cc: Arnd Bergmann <arnd@arndb.de>
> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

Acked-by: Arnd Bergmann <arnd@arndb.de>

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-02-13 12:42 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-02-13 11:15 [PATCH] hpet: remove hpets::hp_clocksource Jiri Slaby (SUSE)
2024-02-13 12:41 ` Arnd Bergmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®