2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-29 15:43:59 +08:00
linux-next/drivers/net/ethernet/ibm/emac
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
..
core.c drivers/net: get rid of unnecessary initializations in .get_drvinfo() 2015-10-16 00:24:10 -07:00
core.h Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net 2015-10-02 07:21:25 -07:00
debug.c ethernet/emac/sysrq: fix inconstistent help message of sysrq key 2013-04-30 17:04:10 -07:00
debug.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00
emac.h powerpc/44x: Add more changes for APM821XX EMAC driver 2012-03-06 17:07:42 -05:00
Kconfig
Makefile net: fix IBM EMAC driver after rename. 2011-08-18 21:33:49 -07:00
mal.c IBM-EMAC: constify of_device_id array 2015-03-17 15:00:23 -04:00
mal.h emac: aggregation of v1-2 PLB errors for IER register 2014-05-30 16:29:57 -07:00
phy.c drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
phy.h drivers/net: fix up stale paths from driver reorg 2012-01-30 12:54:40 -05:00
rgmii.c IBM-EMAC: constify of_device_id array 2015-03-17 15:00:23 -04:00
rgmii.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00
tah.c IBM-EMAC: constify of_device_id array 2015-03-17 15:00:23 -04:00
tah.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00
zmii.c IBM-EMAC: constify of_device_id array 2015-03-17 15:00:23 -04:00
zmii.h ibm/emac: Remove extern from function prototypes 2013-09-24 12:51:27 -07:00