Skip to contentSkip to conversation

drm/msm: Remove unneeded semicolon

PATCH Superseded Yang Li 2 participants 2 messages Sep 3, 2024 – Sep 16, 2024

Subsystems (3)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 drm/msm: Remove unneeded semicolon

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

---
 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
#1 lore raw
Quoted 9 lines · Yang Li

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

---
  drivers/gpu/drm/msm/hdmi/hdmi_phy_8998.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

Change looks fine but can you pls have a short one line in the commit text instead of just pasting the error from the errorchecker?

Quoted 13 lines
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;