staging: rtlwifi: remove unneeded semicolon
authorSantha Meena Ramamoorthy <santhameena13@gmail.com>
Fri, 2 Mar 2018 14:14:39 +0000 (06:14 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 6 Mar 2018 12:01:11 +0000 (04:01 -0800)
Remove unneeded semicolon after 'while' and 'switch' statements. Issue
found using semicolon.cocci Coccinelle script.

Signed-off-by: Santha Meena Ramamoorthy <santhameena13@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/rtlwifi/phydm/rtl8822b/phydm_iqk_8822b.c
drivers/staging/rtlwifi/rtl8822be/phy.c

index d320311213ccad67fc510514136f521315a8c9ea..e2c72af161502fe035738a025b1b90236e0ca251 100644 (file)
@@ -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);
index ef37ae98c80328b9851de59c748df30482221a88..6697aee9317fbdaa449836fe00a0e439fd330fe9 100644 (file)
@@ -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,