Skip to contentSkip to conversation

drm/amd/display: Unneeded semicolon

PATCH Applied min tang 2 participants 2 messages Aug 13, 2022 – Aug 15, 2022

Subsystems (3)
lore
Share & tools
lore

min tang

author
#0 lore raw

PATCH 1/1 drm/amd/display: Unneeded semicolon

There is no semicolon after '}' in line 510.

---
 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
index 27501b735a9c..c87cf8771c6d 100644
@@ -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
Applied
#1 lore raw

Applied. Thanks!

Quoted 24 lines · min tang

There is no semicolon after '}' in line 510.

---
 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
index 27501b735a9c..c87cf8771c6d 100644
@@ -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