drm/amdgpu/display: Remove duplicated argument to ||
authorZhongjun Tan <tanzhongjun@coolpad.com>
Wed, 6 Jul 2022 04:57:12 +0000 (12:57 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 7 Jul 2022 19:55:35 +0000 (15:55 -0400)
Remove duplicated argument to ||

Signed-off-by: Zhongjun Tan <tanzhongjun@coolpad.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/dml/dcn32/display_mode_vba_util_32.c

index 07f3a85..5a701d9 100644 (file)
@@ -275,7 +275,7 @@ void dml32_CalculateBytePerPixelAndBlockSizes(
                *BytePerPixelDETC = 0;
                *BytePerPixelY = 4;
                *BytePerPixelC = 0;
-       } else if (SourcePixelFormat == dm_444_16 || SourcePixelFormat == dm_444_16) {
+       } else if (SourcePixelFormat == dm_444_16) {
                *BytePerPixelDETY = 2;
                *BytePerPixelDETC = 0;
                *BytePerPixelY = 2;