summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorAlex Hung <alex.hung@amd.com>2026-02-18 09:30:32 -0700
committerAlex Deucher <alexander.deucher@amd.com>2026-03-02 16:39:12 -0500
commit83b75278eb56ebc4cb73caf67572144293b739a9 (patch)
treeedbda66e59b23614706a0b07f136023b3fb89a17 /tools/perf/scripts/python/stackcollapse.py
parentb91cfeb6f2ddf720a06506a1d1e5d9e76d3bd129 (diff)
drm/amd/display: Remove redundant initializers
[WHAT] Remove unnecessary default value assignments for variables that are unconditionally assigned before use. Linux kernel code style prefers no assignments during initialization when variables are assigned unconditionally as they can obscures the actual data flow. In addition, compilers will be able to catch them if variables are used without being updated later in all conditions. This is reported as UNUSED_VALUE errors by Coverity. Reviewed-by: Roman Li <roman.li@amd.com> Signed-off-by: Alex Hung <alex.hung@amd.com> Tested-by: Dan Wheeler <daniel.wheeler@amd.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions