rtc: Remove hpet_rtc_dropped_irq()
Subsystems (3)
PATCH 1/1 rtc: Remove hpet_rtc_dropped_irq()
From: "Dr. David Alan Gilbert" <[email protected]>
hpet_rtc_dropped_irq() has been unused since commit f52ef24be21a ("rtc/alpha: remove legacy rtc driver")
Remove it in rtc, and x86 hpet code.
--- arch/x86/include/asm/hpet.h | 1 - arch/x86/kernel/hpet.c | 6 ------ drivers/rtc/rtc-cmos.c | 5 ----- 3 files changed, 12 deletions(-)
arch/x86/include/asm/hpet.h +0 -1
@@ -84,7 +84,6 @@ extern int hpet_set_rtc_irq_bit(unsigned long bit_mask);extern int hpet_set_alarm_time (unsigned char hrs,unsigned char min,unsigned char sec);extern int hpet_set_periodic_freq (unsigned long freq); -extern int hpet_rtc_dropped_irq (void );extern int hpet_rtc_timer_init (void );extern irqreturn_t hpet_rtc_interrupt (int irq,void *dev_id);extern int hpet_register_irq_handler (rtc_irq_handler handler);
arch/x86/kernel/hpet.c +0 -6
@@ -1392,12 +1392,6 @@ int hpet_set_periodic_freq(unsigned long freq) }EXPORT_SYMBOL_GPL (hpet_set_periodic_freq); -int hpet_rtc_dropped_irq (void ) -{ -return is_hpet_enabled (); -} -EXPORT_SYMBOL_GPL (hpet_rtc_dropped_irq); -static void hpet_rtc_timer_reinit (void ) {unsigned int delta;
drivers/rtc/rtc-cmos.c +0 -5
@@ -151,11 +151,6 @@ static inline int hpet_set_periodic_freq(unsigned long freq)return 0 ; } -static inline int hpet_rtc_dropped_irq (void ) -{ -return 0 ; -} -static inline int hpet_rtc_timer_init (void ) {return 0 ;
Signature · 1 line
2.47.1
Alexandre Belloni
maintainerDear x86 maintainers,
Quoted 7 lines · On 15/12/2024 02:23:56+0000, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
hpet_rtc_dropped_irq()has been unused since commitf52ef24be21a("rtc/alpha: remove legacy rtc driver")Remove it in rtc, and x86 hpet code.
I'm willing t take this patch, can I get an ack?
Quoted 55 lines
Signed-off-by Dr. David Alan Gilbert <[email protected]>--- arch/x86/include/asm/hpet.h | 1 - arch/x86/kernel/hpet.c | 6 ------ drivers/rtc/rtc-cmos.c | 5 ----- 3 files changed, 12 deletions(-)arch/x86/include/asm/hpet.h +0
-1@@ -84,7 +84,6 @@ extern int hpet_set_rtc_irq_bit(unsigned long bit_mask);extern int hpet_set_alarm_time (unsigned char hrs,unsigned char min,unsigned char sec);extern int hpet_set_periodic_freq (unsigned long freq); -extern int hpet_rtc_dropped_irq (void );extern int hpet_rtc_timer_init (void );extern irqreturn_t hpet_rtc_interrupt (int irq,void *dev_id);extern int hpet_register_irq_handler (rtc_irq_handler handler);arch/x86/kernel/hpet.c +0
-6@@ -1392,12 +1392,6 @@ int hpet_set_periodic_freq(unsigned long freq) }EXPORT_SYMBOL_GPL (hpet_set_periodic_freq); -int hpet_rtc_dropped_irq (void ) -{ -return is_hpet_enabled (); -} -EXPORT_SYMBOL_GPL (hpet_rtc_dropped_irq); -static void hpet_rtc_timer_reinit (void ) {unsigned int delta;drivers/rtc/rtc-cmos.c +0
-5@@ -151,11 +151,6 @@ static inline int hpet_set_periodic_freq(unsigned long freq)return 0 ; } -static inline int hpet_rtc_dropped_irq (void ) -{ -return 0 ; -} -static inline int hpet_rtc_timer_init (void ) {return 0 ;Signature · 1 line
2.47.1
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com
Quoted 5 lines · Alexandre Belloni
Dear x86 maintainers,
Quoted 2 lines · On 15/12/2024 02:23:56+0000, [email protected] wrote:
From: "Dr. David Alan Gilbert" <[email protected]>
Quoted 7 lines
Quoted 5 lines
hpet_rtc_dropped_irq()has been unused since commitf52ef24be21a("rtc/alpha: remove legacy rtc driver")Remove it in rtc, and x86 hpet code.
I'm willing t take this patch, can I get an ack?
Signature · 4 lines
Regards/Gruss,
Boris.
https://people.kernel.org/tglx/notes-about-netiquetteQuoted 6 lines · On Sun, 15 Dec 2024 02:23:56 +0000, [email protected] wrote:
hpet_rtc_dropped_irq()has been unused since commitf52ef24be21a("rtc/alpha: remove legacy rtc driver")Remove it in rtc, and x86 hpet code.
Applied, thanks!
[1/1] rtc: Remove hpet_rtc_dropped_irq()
https://git.kernel.org/abelloni/c/58589c6a6e9e
Best regards,
Signature · 3 lines
Alexandre Belloni, co-owner and COO, Bootlin Embedded Linux and Kernel engineering https://bootlin.com