drm/amd/display: Unneeded semicolon
Subsystems (3)
PATCH 1/1 drm/amd/display: Unneeded semicolon
There is no semicolon after '}' in line 510.
Signed-off-by min tang <[email protected]>
--- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c +1 -1
@@ -505,7 +505,7 @@ static void dcn315_clk_mgr_helper_populate_bw_params( bw_params->clk_table.entries[i].dispclk_mhz = clock_table->DispClocks[i]; bw_params->clk_table.entries[i].dppclk_mhz = clock_table->DppClocks[i]; bw_params->clk_table.entries[i].wck_ratio =1 ; - }; + }/* Make sure to include at least one entry and highest pstate */ if (max_pstate != min_pstate || i ==0 ) {
Signature · 1 line
2.17.1
Alex Deucher
AppliedApplied. Thanks!
Quoted 24 lines · min tang
There is no semicolon after '}' in line 510.
Signed-off-by min tang <[email protected]>--- drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)drivers/gpu/drm/amd/display/dc/clk_mgr/dcn315/dcn315_clk_mgr.c +1
-2@@ -505,7 +505,7 @@ static void dcn315_clk_mgr_helper_populate_bw_params( bw_params->clk_table.entries[i].dispclk_mhz = clock_table->DispClocks[i]; bw_params->clk_table.entries[i].dppclk_mhz = clock_table->DppClocks[i]; bw_params->clk_table.entries[i].wck_ratio =1 ; - }; + }/* Make sure to include at least one entry and highest pstate */ if (max_pstate != min_pstate || i ==0 ) { --2.17.1