ethtool: Use explicit designated initializers for .cmd
authorRoland Dreier <rolandd@cisco.com>
Thu, 11 Feb 2010 20:14:23 +0000 (12:14 -0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 11 Feb 2010 20:14:23 +0000 (12:14 -0800)
commit8e5574211d96c0552f84c757718475fdb4021be7
treec2b9201e104fbc8a2b714cba32ca175c5db73926
parent92eb879ff59c5995bf18f76eb0a00cb7db758e42
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>
net/core/ethtool.c