diff options
| author | Martin Kaiser <[email protected]> | 2022-05-02 22:06:49 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2022-05-05 23:22:38 +0200 |
| commit | 11d2e7de0d8a4b706872f6e79679c32dcb3c0393 (patch) | |
| tree | 5696e9231bff4e29b5fffc51bb88aad797def45e /tools/perf/scripts/python/bin | |
| parent | 42e00fbbbab049591682d7de3071f713215bd799 (diff) | |
staging: r8188eu: replace OnAction_tbl with switch-case
OnAction_tbl has only three entries. It's simpler to use a switch
statement instead of iterating over the table.
We can then remove the table itself and struct action_handler, which was
used only for the table entries.
Signed-off-by: Martin Kaiser <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions