]> git.ipfire.org Git - thirdparty/qemu.git/commitdiff
rust/hpet: remove stale TODO comment
authorMohd Kashif Khan <kashif04x@gmail.com>
Mon, 26 Jan 2026 21:09:10 +0000 (02:39 +0530)
committerPaolo Bonzini <pbonzini@redhat.com>
Tue, 27 Jan 2026 09:37:11 +0000 (10:37 +0100)
The irq binding is already implemented in the following line, so the TODO comment is obsolete.

Signed-off-by: Mohd Kashif Khan <kashif04x@gmail.com>
Reviewed-by: Zhao Liu <zhao1.liu@intel.com>
Link: https://lore.kernel.org/r/20260126210910.28889-1-kashif04x@gmail.com
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
rust/hw/timer/hpet/src/device.rs

index 4757bf5fd55d5579ac53dfcc01c5c3e0bfdbc37f..ebf715d399563bd4df42dc9123e1a37847f57581 100644 (file)
@@ -725,7 +725,6 @@ impl HPETState {
             self.irqs[0].lower();
             self.irqs[RTC_ISA_IRQ].lower();
         } else if deactivating_bit(old_val, new_val, HPET_CFG_LEG_RT_SHIFT) {
-            // TODO: Add irq binding: qemu_irq_lower(s->irqs[0])
             self.irqs[0].lower();
             self.pit_enabled.set(true);
             self.irqs[RTC_ISA_IRQ].set(self.rtc_irq_level.get() != 0);