]> www.infradead.org Git - users/jedix/linux-maple.git/commit
tg3: Remove unnecessary driver assignments of ethtool_ringparam fields to zero
authorJoe Jin <joe.jin@oracle.com>
Tue, 15 May 2012 13:13:07 +0000 (21:13 +0800)
committerJoe Jin <joe.jin@oracle.com>
Wed, 16 May 2012 02:23:55 +0000 (10:23 +0800)
commitc14a13b8cd5584cb08cd268017c10d88a99532fa
tree21623e313e140cf25b3555c638280470e5c47a34
parentdb9d80c8a73ec79147e28658031c04bc79e6b696
tg3: 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.

This backport 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/tg3.c