]> git.baikalelectronics.ru Git - kernel.git/commit
drm/amd/display: Remove the redundant initialization of local variable
authorShaokun Zhang <zhangshaokun@hisilicon.com>
Mon, 31 May 2021 09:30:06 +0000 (17:30 +0800)
committerAlex Deucher <alexander.deucher@amd.com>
Wed, 2 Jun 2021 02:55:39 +0000 (22:55 -0400)
commit01ade114b19eb78286b7c0c2537c5ccb799eacff
tree61cbed98a3c4449f4ee5cc71498cdc9458df25e8
parent98eb4943d486465f8661d24861a2e4d0c7b5a364
drm/amd/display: Remove the redundant initialization of local variable

Local variable 'i' and 'j' will be initialized in the for loop, so
remove the redundant initialization.

Cc: Harry Wentland <harry.wentland@amd.com>
Cc: Leo Li <sunpeng.li@amd.com>
Cc: Alex Deucher <alexander.deucher@amd.com>
Signed-off-by: Shaokun Zhang <zhangshaokun@hisilicon.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/display/dc/core/dc.c