]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/chelsio/cxgb2.c
cxgb: delete non NAPI code from the driver.
[linux-2.6-omap-h63xx.git] / drivers / net / chelsio / cxgb2.c
index a509337eab2dd44d562e131f814599138d133dfe..638c9a27a7a64902f00dd2251382ed4ff8b1de55 100644 (file)
@@ -1153,9 +1153,7 @@ static int __devinit init_one(struct pci_dev *pdev,
 #ifdef CONFIG_NET_POLL_CONTROLLER
                netdev->poll_controller = t1_netpoll;
 #endif
-#ifdef CONFIG_CHELSIO_T1_NAPI
                netif_napi_add(netdev, &adapter->napi, t1_poll, 64);
-#endif
 
                SET_ETHTOOL_OPS(netdev, &t1_ethtool_ops);
        }