]> www.infradead.org Git - users/jedix/linux-maple.git/commit
net: Remove Intel NICs unnecessary driver assignments of ethtool_ringparam fields...
authorJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 02:52:30 +0000 (10:52 +0800)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 02:59:18 +0000 (10:59 +0800)
commit0f68d093f96e101014fed438a855a7de658eae54
tree4f0a80b01abbbd86188f7b01b0cfb2a69d1b7508
parenteba034dc04aecc45255bedddff656f9630ddf466
net: Remove Intel NICs unnecessary driver assignments of ethtool_ringparam fields to zero

For e100/e1000/e1000e/igb/igbvf/ixgb/ixgbe/ixgbevf

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.

(backported from commit 8b0c11679fd37522d8d34a76101319a085d80912)
Signed-off-by: Rick Jones <rick.jones2@hp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/e100.c
drivers/net/e1000/e1000_ethtool.c
drivers/net/e1000e/ethtool.c
drivers/net/igb/igb_ethtool.c
drivers/net/igbvf/ethtool.c
drivers/net/ixgb/ixgb_ethtool.c
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbevf/ethtool.c