linux_dsm_epyc7002/drivers/net/ethernet/hisilicon
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
..
hns drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
hip04_eth.c net: hisilicon: fix handling platform_get_irq result 2015-09-26 22:46:45 -07:00
hix5hd2_gmac.c net: batch of last_rx update avoidance in ethernet drivers. 2015-05-14 17:38:17 -04:00
hns_mdio.c net: add Hisilicon Network Subsystem MDIO support 2015-09-20 21:42:57 -07:00
Kconfig net: HNS: fix MDIO dependencies 2015-10-12 05:41:15 -07:00
Makefile net: add Hisilicon Network Subsystem hnae framework support 2015-09-20 21:42:57 -07:00