diff options
| author | André Moreira <andrem.33333@gmail.com> | 2026-06-20 14:21:38 -0300 |
|---|---|---|
| committer | Hans Verkuil <hverkuil+cisco@kernel.org> | 2026-07-15 17:12:54 +0200 |
| commit | 635590417a89466234aa8a8c47a63274fb7fc523 (patch) | |
| tree | b9ce7e45873da315c76a2fb90c4ae182a0688111 /tools/perf/scripts/python/stackcollapse.py | |
| parent | b7f17b9fe0ec14607a7acd0141a1ee00e967a0de (diff) | |
staging: media: av7110: refactor av7110_start_feed to reduce indentation
The av7110_start_feed function contains heavily nested if-statements,
causing excessive indentation and violating code style guidelines.
Refactor the logic inside the DMX_MEMORY_FE case by inverting the
conditional check to break early. Additionally, remove the inner
'if (feed->ts_type & TS_DECODER)' check, as it is redundant since
the outer block already validates this condition.
This reduces the indentation level and cleans up redundant checks
without altering the underlying driver behavior.
Signed-off-by: André Moreira <andrem.33333@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
