Skip to content
Snippets Groups Projects
Commit 47ea0325 authored by Ivan Vecera's avatar Ivan Vecera Committed by David S. Miller
Browse files

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: default avatarIvan Vecera <ivecera@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent ae230518
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 41 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment