summaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/cxgb2.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2008-07-11 00:29:19 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-07-11 01:11:42 -0400
commit4422b00390749f8b877b2838a99ef2948ae08a58 (patch)
treecc02474e39116f7cb3e758bfa37f3171498b739b /drivers/net/chelsio/cxgb2.c
parent29d0a2b0f7b5f53c79095a5539ee3884afb354b6 (diff)
downloadlinux-4422b00390749f8b877b2838a99ef2948ae08a58.tar.gz
linux-4422b00390749f8b877b2838a99ef2948ae08a58.tar.bz2
linux-4422b00390749f8b877b2838a99ef2948ae08a58.zip
cxgb: delete non NAPI code from the driver.
Compile-tested only. Signed-off-by: Francois Romieu <romieu@fr.zoreil.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/net/chelsio/cxgb2.c')
-rw-r--r--drivers/net/chelsio/cxgb2.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/chelsio/cxgb2.c b/drivers/net/chelsio/cxgb2.c
index a509337eab2d..638c9a27a7a6 100644
--- a/drivers/net/chelsio/cxgb2.c
+++ b/drivers/net/chelsio/cxgb2.c
@@ -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);
}