diff options
| author | Jonas Dreßler <[email protected]> | 2021-09-14 21:59:04 +0200 |
|---|---|---|
| committer | Kalle Valo <[email protected]> | 2021-09-21 18:02:17 +0300 |
| commit | 54350dac4e6a966a816ea0152ad2fba30ca189d0 (patch) | |
| tree | 1a0b6368b1960acdffd29c82895d48cd5230cc4c /include/linux/debugobjects.h | |
| 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 <[email protected]>
Signed-off-by: Kalle Valo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions