summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-05-02 23:06:49 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-06 00:22:38 +0300
commit11d2e7de0d8a4b706872f6e79679c32dcb3c0393 (patch)
tree5696e9231bff4e29b5fffc51bb88aad797def45e /tools/perf/scripts/python
parent42e00fbbbab049591682d7de3071f713215bd799 (diff)
downloadlinux-11d2e7de0d8a4b706872f6e79679c32dcb3c0393.tar.xz
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 <martin@kaiser.cx> Link: https://lore.kernel.org/r/20220502200652.143665-7-martin@kaiser.cx Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions