diff options
Diffstat (limited to 'drivers/net/chelsio/cxgb2.c')
-rw-r--r-- | drivers/net/chelsio/cxgb2.c | 2 |
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 | } |