OSDN Git Service

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)
commitd3892e20d8cc48665672fb2c192118f02ab105a5
tree61cbed98a3c4449f4ee5cc71498cdc9458df25e8
parenta6c3c37b661dae8f34cb7ed90aa3f88372cb1c75
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