igb: Remove no longer referenced code
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 14 Aug 2012 08:21:49 +0000 (16:21 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Tue, 14 Aug 2012 08:21:49 +0000 (16:21 +0800)
sys/dev/netif/igb/if_igb.c

index 36a2ccd..a723a94 100644 (file)
@@ -932,11 +932,6 @@ igb_init(void *xsc)
        callout_reset(&sc->timer, hz, igb_timer, sc);
        e1000_clear_hw_cntrs_base_generic(&sc->hw);
 
        callout_reset(&sc->timer, hz, igb_timer, sc);
        e1000_clear_hw_cntrs_base_generic(&sc->hw);
 
-#if 0
-       if (adapter->msix > 1) /* Set up queue routing */
-               igb_configure_queues(adapter);
-#endif
-
        /* This clears any pending interrupts */
        E1000_READ_REG(&sc->hw, E1000_ICR);
 
        /* This clears any pending interrupts */
        E1000_READ_REG(&sc->hw, E1000_ICR);