diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2023-05-12 15:04:51 +0800 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2023-06-09 09:38:57 -0400 |
commit | e84e40dcb3fc972cbe41d228f1e45128285e0c47 (patch) | |
tree | 2cbd020e8c0614bd634b5598f02c0c42df6de411 /drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c | |
parent | 82ad22bbad008f84ec52208c5ba2c8f1cf55fd8d (diff) | |
download | linux-e84e40dcb3fc972cbe41d228f1e45128285e0c47.tar.gz linux-e84e40dcb3fc972cbe41d228f1e45128285e0c47.tar.bz2 linux-e84e40dcb3fc972cbe41d228f1e45128285e0c47.zip |
drm/amd/display: Simplify the calculation of variables
./drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c:586:37-39: WARNING !A || A && B is equivalent to !A || B.
./drivers/gpu/drm/amd/display/dc/dcn32/dcn32_hwseq.c:595:37-39: WARNING !A || A && B is equivalent to !A || B.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Link: https://bugzilla.openanolis.cn/show_bug.cgi?id=4941
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: Hamza Mahfooz <hamza.mahfooz@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_fence.c')
0 files changed, 0 insertions, 0 deletions