aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio/cxgb2.c
diff options
context:
space:
mode:
authorFrancois Romieu <romieu@fr.zoreil.com>2008-07-10 18:29:19 -0400
committerJeff Garzik <jgarzik@redhat.com>2008-07-11 01:11:42 -0400
commit4422b00390749f8b877b2838a99ef2948ae08a58 (patch)
treecc02474e39116f7cb3e758bfa37f3171498b739b /drivers/net/chelsio/cxgb2.c
parent29d0a2b0f7b5f53c79095a5539ee3884afb354b6 (diff)
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,
1153#ifdef CONFIG_NET_POLL_CONTROLLER 1153#ifdef CONFIG_NET_POLL_CONTROLLER
1154 netdev->poll_controller = t1_netpoll; 1154 netdev->poll_controller = t1_netpoll;
1155#endif 1155#endif
1156#ifdef CONFIG_CHELSIO_T1_NAPI
1157 netif_napi_add(netdev, &adapter->napi, t1_poll, 64); 1156 netif_napi_add(netdev, &adapter->napi, t1_poll, 64);
1158#endif
1159 1157
1160 SET_ETHTOOL_OPS(netdev, &t1_ethtool_ops); 1158 SET_ETHTOOL_OPS(netdev, &t1_ethtool_ops);
1161 } 1159 }