diff options
author | 2020-12-01 21:44:59 +0100 | |
---|---|---|
committer | 2020-12-02 17:16:29 -0800 | |
commit | 31b62c78c1645e829a08453458224f832ac1ac7b (patch) | |
tree | 2d4ff280f56429836e81b036b4655bcfae1783a5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | net: dsa: microchip: ksz8795: move variable assignments from detect to init (diff) | |
download | wireguard-linux-31b62c78c1645e829a08453458224f832ac1ac7b.tar.xz wireguard-linux-31b62c78c1645e829a08453458224f832ac1ac7b.zip |
net: dsa: microchip: ksz8795: use reg_mib_cnt where possible
The extra define SWITCH_COUNTER_NUM is a copy of the KSZ8795_COUNTER_NUM
define. This patch initializes reg_mib_cnt with KSZ8795_COUNTER_NUM,
makes use of reg_mib_cnt everywhere instead and removes the extra
define.
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions