diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-01-12 11:20:49 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-01-13 14:54:35 -0500 |
commit | 35a45d630359bf9bcbeb612073c7869afb944436 (patch) | |
tree | f26a77348d5f58069646f6336a95893fb41f611f /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h | |
parent | 3e5019ee67760cd61b2a5fd605e1289c2f92d983 (diff) |
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 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.h')
0 files changed, 0 insertions, 0 deletions