drm/amd/display: remove unneeded semicolon
Subsystems (3)
PATCH 1/1 drm/amd/display: remove unneeded semicolon
Semicolon is not required after curly braces.
Reported-by Abaci Robot <[email protected]>
Signed-off-by Yang Li <[email protected]>
--- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c +1 -1
@@ -614,7 +614,7 @@ static void dcn314_clk_mgr_helper_populate_bw_params(struct clk_mgr_internal *cl bw_params->clk_table.entries[i].dppclk_mhz = max_dppclk; bw_params->clk_table.entries[i].wck_ratio =convert_wck_ratio ( clock_table->DfPstateTable[min_pstate].WckRatio); - }; + }/* Make sure to include at least one entry at highest pstate */ if (max_pstate != min_pstate || i ==0 ) {
Signature · 1 line
2.20.1.7.g153144c
Alex Deucher
AppliedApplied. Thanks!
Quoted 26 lines · Yang Li
Semicolon is not required after curly braces.
Reported-by Abaci Robot <[email protected]>Signed-off-by Yang Li <[email protected]>--- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/display/dc/clk_mgr/dcn314/dcn314_clk_mgr.c +1
-2@@ -614,7 +614,7 @@ static void dcn314_clk_mgr_helper_populate_bw_params(struct clk_mgr_internal *cl bw_params->clk_table.entries[i].dppclk_mhz = max_dppclk; bw_params->clk_table.entries[i].wck_ratio =convert_wck_ratio ( clock_table->DfPstateTable[min_pstate].WckRatio); - }; + }/* Make sure to include at least one entry at highest pstate */ if (max_pstate != min_pstate || i ==0 ) { --2.20.1.7.g153144c