diff options
author | Jonas Dreßler <verdre@v0yd.nl> | 2021-09-14 21:59:04 +0200 |
---|---|---|
committer | Kalle Valo <kvalo@codeaurora.org> | 2021-09-21 18:02:17 +0300 |
commit | 54350dac4e6a966a816ea0152ad2fba30ca189d0 (patch) | |
tree | 1a0b6368b1960acdffd29c82895d48cd5230cc4c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | c2e9666cdffd347460a2b17988db4cfaf2a68fb9 (diff) |
mwifiex: Use helper function for counting interface types
Use a small helper function to increment and decrement the counter of
the interface types we currently manage. This makes the code that
actually changes and sets up the interface type a bit less messy and
also helps avoiding mistakes in case someone increments/decrements a
counter wrongly.
Signed-off-by: Jonas Dreßler <verdre@v0yd.nl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Link: https://lore.kernel.org/r/20210914195909.36035-5-verdre@v0yd.nl
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions