]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit4bbf2772f38f2020ee61d269a0750f71370a1ab8
treec2b9201e104fbc8a2b714cba32ca175c5db73926
parentd753f6a84315fcc444df80813740aed887f73060
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