diff options
| author | Brahmajit Das <listout@listout.xyz> | 2025-09-02 02:50:20 +0530 |
|---|---|---|
| committer | Thierry Reding <treding@nvidia.com> | 2025-09-11 18:56:28 +0200 |
| commit | 1beee8d0c263b3e239c8d6616e4f8bb700bed658 (patch) | |
| tree | 5294e39ceca3ae358fcd5efbf04441137bc95867 /tools/perf/scripts/python/stackcollapse.py | |
| parent | d2624d90a0b776db468e889cb079ff1d3edaccf3 (diff) | |
drm/tegra: hdmi: sor: Fix error: variable ājā set but not used
The variable j is set, however never used in or outside the loop, thus
resulting in dead code.
Building with GCC 16 results in a build error due to
-Werror=unused-but-set-variable= enabled by default.
This patch clean up the dead code and fixes the build error.
Example build log:
drivers/gpu/drm/tegra/sor.c:1867:19: error: variable ājā set but not used [-Werror=unused-but-set-variable=]
1867 | size_t i, j;
| ^
Signed-off-by: Brahmajit Das <listout@listout.xyz>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20250901212020.3757519-1-listout@listout.xyz
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
