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> |
||
|---|---|---|
| .. | ||
| core.c | ||
| core.h | ||
| debug.c | ||
| debug.h | ||
| emac.h | ||
| Kconfig | ||
| Makefile | ||
| mal.c | ||
| mal.h | ||
| phy.c | ||
| phy.h | ||
| rgmii.c | ||
| rgmii.h | ||
| tah.c | ||
| tah.h | ||
| zmii.c | ||
| zmii.h | ||