summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/parallel-perf.py
diff options
context:
space:
mode:
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>2024-12-08 19:03:16 +0300
committerMark Brown <broonie@kernel.org>2024-12-09 16:14:19 +0300
commitb6ffe0e6147915fe3d31705e14dfbbecb724fb81 (patch)
treee1c6bd16784f727f9641240d0810829d8b95c6db /tools/perf/scripts/python/parallel-perf.py
parente5fca61fdfcdd7d3cc43c0b4c3b959d4f2b06666 (diff)
downloadlinux-b6ffe0e6147915fe3d31705e14dfbbecb724fb81.tar.xz
spi: Unify firmware node type checks
The few functions are using different approaches on how to check for the type of firmware node. Unify them to use a modern way of it. With that in place it becomes obvious that no need to have independent conditionals when they are dependent and hence the code generation can be improved a little bit (clang-18, x86_64): add/remove: 0/0 grow/shrink: 2/2 up/down: 16/-46 (-30) Total: Before=49801, After=49771, chg -0.06% Meanwhile no functional changes intended. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://patch.msgid.link/20241208195635.1271656-2-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/parallel-perf.py')
0 files changed, 0 insertions, 0 deletions