aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic_hw.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_hw.c')
-rw-r--r--drivers/net/qlcnic/qlcnic_hw.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/qlcnic/qlcnic_hw.c b/drivers/net/qlcnic/qlcnic_hw.c
index 9d3e16dbd043..7f1f9b4ca0ff 100644
--- a/drivers/net/qlcnic/qlcnic_hw.c
+++ b/drivers/net/qlcnic/qlcnic_hw.c
@@ -582,9 +582,6 @@ int qlcnic_config_hw_lro(struct qlcnic_adapter *adapter, int enable)
582 u64 word; 582 u64 word;
583 int rv; 583 int rv;
584 584
585 if ((adapter->flags & QLCNIC_LRO_ENABLED) == enable)
586 return 0;
587
588 memset(&req, 0, sizeof(struct qlcnic_nic_req)); 585 memset(&req, 0, sizeof(struct qlcnic_nic_req));
589 586
590 req.qhdr = cpu_to_le64(QLCNIC_HOST_REQUEST << 23); 587 req.qhdr = cpu_to_le64(QLCNIC_HOST_REQUEST << 23);
@@ -599,8 +596,6 @@ int qlcnic_config_hw_lro(struct qlcnic_adapter *adapter, int enable)
599 dev_err(&adapter->netdev->dev, 596 dev_err(&adapter->netdev->dev,
600 "Could not send configure hw lro request\n"); 597 "Could not send configure hw lro request\n");
601 598
602 adapter->flags ^= QLCNIC_LRO_ENABLED;
603
604 return rv; 599 return rv;
605} 600}
606 601