aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/qlcnic/qlcnic_ethtool.c
diff options
context:
space:
mode:
authorAmit Kumar Salecha <amit.salecha@qlogic.com>2010-05-12 23:07:46 -0400
committerDavid S. Miller <davem@davemloft.net>2010-05-14 06:08:00 -0400
commit251a84c9272b88eac4888d610c44c821b277c6c9 (patch)
treef5b401d901040740368190aa053db3e848e2c4f7 /drivers/net/qlcnic/qlcnic_ethtool.c
parent1bb09fb9c9333c97dc58524b05d4ee35b02b4216 (diff)
qlcnic: cleanup unused code
LRO ring, cut-thru mode and specific fw version are not valid to Qlogic CNA device. Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_ethtool.c')
-rw-r--r--drivers/net/qlcnic/qlcnic_ethtool.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/qlcnic/qlcnic_ethtool.c b/drivers/net/qlcnic/qlcnic_ethtool.c
index e494cccf8a93..3bd514ec7e8f 100644
--- a/drivers/net/qlcnic/qlcnic_ethtool.c
+++ b/drivers/net/qlcnic/qlcnic_ethtool.c
@@ -412,7 +412,6 @@ qlcnic_get_ringparam(struct net_device *dev,
412 412
413 ring->rx_pending = adapter->num_rxd; 413 ring->rx_pending = adapter->num_rxd;
414 ring->rx_jumbo_pending = adapter->num_jumbo_rxd; 414 ring->rx_jumbo_pending = adapter->num_jumbo_rxd;
415 ring->rx_jumbo_pending += adapter->num_lro_rxd;
416 ring->tx_pending = adapter->num_txd; 415 ring->tx_pending = adapter->num_txd;
417 416
418 if (adapter->ahw.port_type == QLCNIC_GBE) { 417 if (adapter->ahw.port_type == QLCNIC_GBE) {