summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMartin Kaiser <martin@kaiser.cx>2022-10-30 18:33:20 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-10-31 09:09:04 +0100
commite246bf42ef82ac25d8a7ad45ddd07fbf161f7e7f (patch)
tree93bbf5261c6ad6c1fc5e834457b8110f14ba29da /tools/perf/scripts/python
parentb31b29788f103c2720898af2d499d8b53c1eb980 (diff)
staging: r8188eu: replace switch-case with if
OnAction_p2p has a switch-case statement where only a single case is handled. Use if instead, this makes the code shorter and easier to read. Tested-by: Philipp Hortmann <philipp.g.hortmann@gmail.com> # Edimax N150 Signed-off-by: Martin Kaiser <martin@kaiser.cx> Link: https://lore.kernel.org/r/20221030173326.1588647-8-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