diff options
| author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-01-12 06:20:49 +0300 |
|---|---|---|
| committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-13 22:54:35 +0300 |
| commit | 35a45d630359bf9bcbeb612073c7869afb944436 (patch) | |
| tree | f26a77348d5f58069646f6336a95893fb41f611f /tools/perf/scripts/python/libxed.py | |
| parent | 3e5019ee67760cd61b2a5fd605e1289c2f92d983 (diff) | |
| download | linux-35a45d630359bf9bcbeb612073c7869afb944436.tar.xz | |
drm/amd/display: Remove useless else if
The assignment of the else and if branches is the same, so the if else
here is redundant, so we remove it.
./drivers/gpu/drm/amd/display/amdgpu_dm/amdgpu_dm.c:1951:2-4: WARNING: possible condition with no effect (if == else).
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=3719
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions
