commit | 8e5574211d96c0552f84c757718475fdb4021be7 | [log] [tgz] |
---|---|---|
author | Roland Dreier <rolandd@cisco.com> | Thu Feb 11 12:14:23 2010 -0800 |
committer | David S. Miller <davem@davemloft.net> | Thu Feb 11 12:14:23 2010 -0800 |
tree | c2b9201e104fbc8a2b714cba32ca175c5db73926 | |
parent | 92eb879ff59c5995bf18f76eb0a00cb7db758e42 [diff] |
ethtool: Use explicit designated initializers for .cmd Initialize the .cmd member of various ethtool using a designated struct initializer rather. This makes things a teeny bit more robust, although the chance of a struct layout changing is extremely remote, and also makes the code a little easier to read. Signed-off-by: Roland Dreier <rolandd@cisco.com> Signed-off-by: David S. Miller <davem@davemloft.net>