diff options
author | Marek Vasut <[email protected]> | 2019-08-06 15:06:07 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-08-06 11:59:17 -0700 |
commit | ffc60b55d9ccd9950a77686d14da69eb6e437394 (patch) | |
tree | d519f4b21ac72a35e25db900199ded975d991e04 /tools/perf/scripts/python/stat-cpi.py | |
parent | 0dfa0bed9662db680db2cc06457b8d152a2f22af (diff) |
net: dsa: ksz: Remove dead code and fix warnings
Remove ksz_port_cleanup(), which is unused. Add missing include
"ksz_common.h", which fixes the following warning when built with
make ... W=1
drivers/net/dsa/microchip/ksz_common.c:23:6: warning: no previous prototype for ‘...’ [-Wmissing-prototypes]
Note that the order of the headers cannot be swapped, as that would
trigger missing forward declaration errors, which would indicate the
way forward is to merge the two headers into one.
Signed-off-by: Marek Vasut <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: David S. Miller <[email protected]>
Cc: Florian Fainelli <[email protected]>
Cc: Tristram Ha <[email protected]>
Cc: Vivien Didelot <[email protected]>
Cc: Woojung Huh <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stat-cpi.py')
0 files changed, 0 insertions, 0 deletions