aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/chelsio
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/chelsio')
-rw-r--r--drivers/net/chelsio/sge.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/chelsio/sge.c b/drivers/net/chelsio/sge.c
index 7896468dda11..d984b7995763 100644
--- a/drivers/net/chelsio/sge.c
+++ b/drivers/net/chelsio/sge.c
@@ -1609,7 +1609,6 @@ static int process_pure_responses(struct adapter *adapter)
1609int t1_poll(struct napi_struct *napi, int budget) 1609int t1_poll(struct napi_struct *napi, int budget)
1610{ 1610{
1611 struct adapter *adapter = container_of(napi, struct adapter, napi); 1611 struct adapter *adapter = container_of(napi, struct adapter, napi);
1612 struct net_device *dev = adapter->port[0].dev;
1613 int work_done = process_responses(adapter, budget); 1612 int work_done = process_responses(adapter, budget);
1614 1613
1615 if (likely(work_done < budget)) { 1614 if (likely(work_done < budget)) {
@@ -1627,8 +1626,6 @@ irqreturn_t t1_interrupt(int irq, void *data)
1627 int handled; 1626 int handled;
1628 1627
1629 if (likely(responses_pending(adapter))) { 1628 if (likely(responses_pending(adapter))) {
1630 struct net_device *dev = sge->netdev;
1631
1632 writel(F_PL_INTR_SGE_DATA, adapter->regs + A_PL_CAUSE); 1629 writel(F_PL_INTR_SGE_DATA, adapter->regs + A_PL_CAUSE);
1633 1630
1634 if (napi_schedule_prep(&adapter->napi)) { 1631 if (napi_schedule_prep(&adapter->napi)) {