OSDN Git Service

x86: irq: Fix placement of mp_should_keep_irq()
[uclinux-h8/linux.git] / arch / x86 / kernel / apic / io_apic.c
index 7ffe0a2..a157b66 100644 (file)
@@ -3964,18 +3964,6 @@ int mp_set_gsi_attr(u32 gsi, int trigger, int polarity, int node)
        return ret;
 }
 
-bool mp_should_keep_irq(struct device *dev)
-{
-       if (dev->power.is_prepared)
-               return true;
-#ifdef CONFIG_PM_RUNTIME
-       if (dev->power.runtime_status == RPM_SUSPENDING)
-               return true;
-#endif
-
-       return false;
-}
-
 /* Enable IOAPIC early just for system timer */
 void __init pre_init_apic_IRQ0(void)
 {