[PATCH ath-next] wifi: ath12k: remove unneeded semicolon in ath12k_mac_parse_tx_pwr_env()

Baochen Qiang posted 1 patch 2 months, 3 weeks ago
drivers/net/wireless/ath/ath12k/mac.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH ath-next] wifi: ath12k: remove unneeded semicolon in ath12k_mac_parse_tx_pwr_env()
Posted by Baochen Qiang 2 months, 3 weeks ago
Kernel bot warns about this unneeded semicolon:

	drivers/net/wireless/ath/ath12k/mac.c:9785:2-3: Unneeded semicolon

Remove it.

Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00284.1-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3

Reported-by: kernel test robot <lkp@intel.com>
Closes: https://lore.kernel.org/oe-kbuild-all/202507132355.ljWuxxjd-lkp@intel.com/
Signed-off-by: Baochen Qiang <baochen.qiang@oss.qualcomm.com>
---
 drivers/net/wireless/ath/ath12k/mac.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/wireless/ath/ath12k/mac.c b/drivers/net/wireless/ath/ath12k/mac.c
index 5333da9cac1b2cae4a71c975bf927de8182c357b..a5fb917812c1ed2e60a3ceba32d092d7198e6054 100644
--- a/drivers/net/wireless/ath/ath12k/mac.c
+++ b/drivers/net/wireless/ath/ath12k/mac.c
@@ -11424,7 +11424,7 @@ static void ath12k_mac_parse_tx_pwr_env(struct ath12k *ar,
 			    "no transmit power envelope match client power type %d\n",
 			    client_type);
 		return;
-	};
+	}
 
 	if (psd_valid) {
 		tpc_info->is_psd_power = true;

---
base-commit: 3a6df1678acc3687d49ce94e23df7b6a289f27f9
change-id: 20250714-ath12k-unneed-semicolon-896fbb45afac

Best regards,
-- 
Baochen Qiang <baochen.qiang@oss.qualcomm.com>
Re: [PATCH ath-next] wifi: ath12k: remove unneeded semicolon in ath12k_mac_parse_tx_pwr_env()
Posted by Jeff Johnson 2 months, 3 weeks ago
On Tue, 15 Jul 2025 10:07:35 +0800, Baochen Qiang wrote:
> Kernel bot warns about this unneeded semicolon:
> 
> 	drivers/net/wireless/ath/ath12k/mac.c:9785:2-3: Unneeded semicolon
> 
> Remove it.
> 
> Tested-on: WCN7850 hw2.0 PCI WLAN.HMT.1.1.c5-00284.1-QCAHMTSWPL_V1.0_V2.0_SILICONZ-3
> 
> [...]

Applied, thanks!

[1/1] wifi: ath12k: remove unneeded semicolon in ath12k_mac_parse_tx_pwr_env()
      commit: 8ac2a383d4ce9e6229494c2a36df876800e6750e

Best regards,
-- 
Jeff Johnson <jeff.johnson@oss.qualcomm.com>