diff options
author | Roland Dreier <rolandd@cisco.com> | 2010-02-11 12:14:23 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-11 12:14:23 -0800 |
commit | 8e5574211d96c0552f84c757718475fdb4021be7 (patch) | |
tree | c2b9201e104fbc8a2b714cba32ca175c5db73926 /drivers/net/tg3.c | |
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>
Diffstat (limited to 'drivers/net/tg3.c')
0 files changed, 0 insertions, 0 deletions