From: Santha Meena Ramamoorthy Date: Fri, 2 Mar 2018 14:14:39 +0000 (-0800) Subject: staging: rtlwifi: remove unneeded semicolon X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=3334a76c3a726689f9c859d0e8600ed9d04b53f9;p=openwrt%2Fstaging%2Fblogic.git staging: rtlwifi: remove unneeded semicolon Remove unneeded semicolon after 'while' and 'switch' statements. Issue found using semicolon.cocci Coccinelle script. Signed-off-by: Santha Meena Ramamoorthy Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/rtlwifi/phydm/rtl8822b/phydm_iqk_8822b.c b/drivers/staging/rtlwifi/phydm/rtl8822b/phydm_iqk_8822b.c index d320311213cc..e2c72af16150 100644 --- a/drivers/staging/rtlwifi/phydm/rtl8822b/phydm_iqk_8822b.c +++ b/drivers/staging/rtlwifi/phydm/rtl8822b/phydm_iqk_8822b.c @@ -1311,7 +1311,7 @@ static void _phy_iq_calibrate_8822b(struct phy_dm_struct *dm, bool reset) iqk_info->kcount = 0; ODM_RT_TRACE(dm, ODM_COMP_CALIBRATION, "[IQK]delay 50ms!!!\n"); ODM_delay_ms(50); - }; + } _iqk_backup_iqk_8822b(dm, 1); _iqk_fill_iqk_report_8822b(dm, 0); diff --git a/drivers/staging/rtlwifi/rtl8822be/phy.c b/drivers/staging/rtlwifi/rtl8822be/phy.c index ef37ae98c803..6697aee9317f 100644 --- a/drivers/staging/rtlwifi/rtl8822be/phy.c +++ b/drivers/staging/rtlwifi/rtl8822be/phy.c @@ -1251,7 +1251,7 @@ static void _rtl8822be_get_rate_values_of_tx_power_by_rate( RT_TRACE(rtlpriv, COMP_INIT, DBG_DMESG, "Invalid reg_addr 0x%x in %s()\n", reg_addr, __func__); break; - }; + } } void rtl8822be_store_tx_power_by_rate(struct ieee80211_hw *hw, u32 band,