diff options
author | Kalesh AP <kalesh.purayil@emulex.com> | 2014-09-19 14:17:01 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-22 23:01:09 +0400 |
commit | 5f820b6c6e1cd75d5f2d08a684ecb3c2fda22d14 (patch) | |
tree | 44cc39954e325bc97b8ae1061131f60568ee0eac /drivers/net/ethernet/emulex/benet/be_ethtool.c | |
parent | 504fbf1e4f1a0f9c1586dfa22ef0eb20521f9df3 (diff) | |
download | linux-5f820b6c6e1cd75d5f2d08a684ecb3c2fda22d14.tar.xz |
be2net: remove multiple assignments on a single line
This patch removes multiple assignments on a single line as warned
by checkpatch.
Signed-off-by: Kalesh AP <kalesh.purayil@emulex.com>
Signed-off-by: Sathya Perla <sathya.perla@emulex.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/emulex/benet/be_ethtool.c')
-rw-r--r-- | drivers/net/ethernet/emulex/benet/be_ethtool.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/drivers/net/ethernet/emulex/benet/be_ethtool.c b/drivers/net/ethernet/emulex/benet/be_ethtool.c index 42b10f973793..240fb4683955 100644 --- a/drivers/net/ethernet/emulex/benet/be_ethtool.c +++ b/drivers/net/ethernet/emulex/benet/be_ethtool.c @@ -684,8 +684,10 @@ static void be_get_ringparam(struct net_device *netdev, { struct be_adapter *adapter = netdev_priv(netdev); - ring->rx_max_pending = ring->rx_pending = adapter->rx_obj[0].q.len; - ring->tx_max_pending = ring->tx_pending = adapter->tx_obj[0].q.len; + ring->rx_max_pending = adapter->rx_obj[0].q.len; + ring->rx_pending = adapter->rx_obj[0].q.len; + ring->tx_max_pending = adapter->tx_obj[0].q.len; + ring->tx_pending = adapter->tx_obj[0].q.len; } static void |