aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorNiklas Söderlund <[email protected]>2018-07-16 14:19:25 +0200
committerDavid S. Miller <[email protected]>2018-07-18 14:21:49 +0900
commitc94f2fc4fc19a0ab29456b652975e08e0362c94a (patch)
tree5609ecb093121c86e082a9e95f9cc369671194a3 /tools/perf/scripts/python/export-to-postgresql.py
parent22a001e8544fa9d89a1d3d7491ca1d8f9466b69d (diff)
ravb: fix shadowing of symbol 'stats' in ravb_get_ethtool_stats()
Inside a loop in ravb_get_ethtool_stats() a variable 'stats' is declared resulting in the argument also named 'stats' to be shadowed. Fix this warning by renaming the unused argument 'stats' to 'estats'. This fixes the sparse warning: ravb_main.c:1225:36: originally declared here ravb_main.c:1233:41: warning: symbol 'stats' shadows an earlier one Signed-off-by: Niklas Söderlund <[email protected]> Reviewed-by: Geert Uytterhoeven <[email protected]> Acked-by: Sergei Shtylyov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions