Skip to contentSkip to conversation

drm/msm: Remove unneeded semicolon

PATCH Applied Yang Li 2 participants 3 messages Sep 18, 2024 – Oct 21, 2024

Subsystems (2)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH v2 1/1 drm/msm: Remove unneeded semicolon

./drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c:282:2-3: Unneeded semicolon

This patch removes an unneeded semicolon after a switch statement in the pll_get_post_div function. Adding a semicolon after a switch statement is unnecessary and can lead to confusion in the code structure.

---
 drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c +1 -1
index 0e3a2b16a2ce..65cf237c6b4e 100644
@@ -279,7 +279,7 @@ static int pll_get_post_div(struct hdmi_8998_post_divider *pd, u64 bclk)
 	case 25:
 		found_hsclk_divsel = 14;
 		break;
-	};
+	}
 
 	pd->vco_freq = found_vco_freq;
 	pd->tx_band_sel = found_tx_band_sel;
Signature · 1 line
2.32.0.3.g01195cf9f
Reviewed-by on v2 1/1
#1 lore raw
Quoted 6 lines · Yang Li

./drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c:282:2-3: Unneeded semicolon

This patch removes an unneeded semicolon after a switch statement in the pll_get_post_div function. Adding a semicolon after a switch statement is unnecessary and can lead to confusion in the code structure.

Quoted 7 lines
---
 drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 2 lines
With best wishes
Dmitry
#2 lore raw
In reply to Yang Li
Quoted 8 lines · Yang Li

./drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c:282:2-3: Unneeded semicolon

This patch removes an unneeded semicolon after a switch statement in the pll_get_post_div function. Adding a semicolon after a switch statement is unnecessary and can lead to confusion in the code structure.

[...]

Applied, thanks!

[1/1] drm/msm: Remove unneeded semicolon

      https://gitlab.freedesktop.org/lumag/msm/-/commit/00adf52efec3

Best regards,

Signature · 1 line
Dmitry Baryshkov <[email protected]>