OpenCloudOS-Kernel/drivers/net/fjes
Ivan Vecera 47ea032533 drivers/net: get rid of unnecessary initializations in .get_drvinfo()
Many drivers initialize uselessly n_priv_flags, n_stats, testinfo_len,
eedump_len & regdump_len fields in their .get_drvinfo() ethtool op.
It's not necessary as these fields is filled in ethtool_get_drvinfo().

v2: removed unused variable
v3: removed another unused variable

Signed-off-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2015-10-16 00:24:10 -07:00
..
Makefile fjes: ethtool support 2015-08-24 14:06:37 -07:00
fjes.h fjes: ethtool support 2015-08-24 14:06:37 -07:00
fjes_ethtool.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
fjes_hw.c fjes: fix off-by-one error at fjes_hw_update_zone_task() 2015-09-17 22:34:09 -07:00
fjes_hw.h fjes: epstop_task 2015-08-24 14:06:36 -07:00
fjes_main.c fjes: ethtool support 2015-08-24 14:06:37 -07:00
fjes_regs.h fjes: net_device_ops.ndo_open and .ndo_stop 2015-08-24 14:06:34 -07:00