ioapic_abi/x86_64: Remove no longer applied warning
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 6 Jan 2012 16:10:33 +0000 (00:10 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Fri, 6 Jan 2012 16:10:33 +0000 (00:10 +0800)
While I'm here, strip blank lines

sys/platform/pc64/apic/ioapic_abi.c
sys/platform/pc64/icu/icu_abi.c

index 8620ae8..48842e6 100644 (file)
@@ -672,11 +672,8 @@ ioapic_abi_intr_teardown(int intr)
        KASSERT(IOAPIC_IMT_ISHWI(map),
            ("ioapic teardown, not hwi irq %d, type %d, cpu%d",
             intr, map->im_type, mycpuid));
-       if (map->im_type != IOAPIC_IMT_LINE) {
-               kprintf("ioapic teardown, irq %d cpu%d not LINE\n",
-                   intr, mycpuid);
+       if (map->im_type != IOAPIC_IMT_LINE)
                return;
-       }
 
        KASSERT(ioapic_irqs[intr].io_addr != NULL,
            ("ioapic teardown, no GSI information, irq %d\n", intr));
@@ -1199,7 +1196,6 @@ ioapic_abi_msi_alloc(int intrs[], int count, int cpuid)
                                kprintf("alloc MSI intr %d on cpu%d\n",
                                    intr, cpuid);
                        }
-
                }
                error = 0;
                break;
index db6e8f3..f573947 100644 (file)
@@ -482,7 +482,6 @@ icu_abi_msi_alloc(int intrs[], int count, int cpuid)
                                kprintf("alloc MSI intr %d on cpu%d\n",
                                    intr, cpuid);
                        }
-
                }
                error = 0;
                break;