net: Remove unnecessary driver assignments of ethtool_ringparam fields to zero
Per comments from Ben Hutchings on a previous patch, sweep the floors a little removing unnecessary assignments of zero to fields of struct ethtool_ringparam in driver code supporting ethtool -g. Signed-off-by: Rick Jones <rick.jones2@hp.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Šī revīzija ir iekļauta:

revīziju iesūtīja
David S. Miller

vecāks
1d0861acfb
revīzija
8b0c11679f
@@ -1148,13 +1148,9 @@ static void
|
||||
typhoon_get_ringparam(struct net_device *dev, struct ethtool_ringparam *ering)
|
||||
{
|
||||
ering->rx_max_pending = RXENT_ENTRIES;
|
||||
ering->rx_mini_max_pending = 0;
|
||||
ering->rx_jumbo_max_pending = 0;
|
||||
ering->tx_max_pending = TXLO_ENTRIES - 1;
|
||||
|
||||
ering->rx_pending = RXENT_ENTRIES;
|
||||
ering->rx_mini_pending = 0;
|
||||
ering->rx_jumbo_pending = 0;
|
||||
ering->tx_pending = TXLO_ENTRIES - 1;
|
||||
}
|
||||
|
||||
|
Atsaukties uz šo jaunā problēmā
Block a user