diff options
author | Arushi Singhal <arushisinghal19971997@gmail.com> | 2018-03-03 22:09:13 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-03-06 15:01:11 +0300 |
commit | 314af4f77cdb2463d51e4128c37b2bfa4be1de5e (patch) | |
tree | cbaa99dc75473ef2aeaafb4b438394ab0fbd545c /drivers/staging/rtlwifi/base.c | |
parent | 3334a76c3a726689f9c859d0e8600ed9d04b53f9 (diff) | |
download | linux-314af4f77cdb2463d51e4128c37b2bfa4be1de5e.tar.xz |
staging: rtlwifi: Remove nonessential semicolon
Remove non-essential semicolon after 'else' and 'switch' statements. Issue
found using semicolon.cocci Coccinelle script.
Signed-off-by: Arushi Singhal <arushisinghal19971997@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtlwifi/base.c')
-rw-r--r-- | drivers/staging/rtlwifi/base.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/rtlwifi/base.c b/drivers/staging/rtlwifi/base.c index c947def37d31..eea00035a735 100644 --- a/drivers/staging/rtlwifi/base.c +++ b/drivers/staging/rtlwifi/base.c @@ -710,20 +710,20 @@ u8 rtl_mrate_idx_to_arfr_id( ret = RATEID_IDX_BGN_40M_1SS; else ret = RATEID_IDX_BGN_40M_2SS; - ; break; + break; case RATR_INX_WIRELESS_N: case RATR_INX_WIRELESS_NG: if (rtlphy->rf_type == RF_1T1R) ret = RATEID_IDX_GN_N1SS; else ret = RATEID_IDX_GN_N2SS; - ; break; + break; case RATR_INX_WIRELESS_NB: if (rtlphy->rf_type == RF_1T1R) ret = RATEID_IDX_BGN_20M_1SS_BN; else ret = RATEID_IDX_BGN_20M_2SS_BN; - ; break; + break; case RATR_INX_WIRELESS_GB: ret = RATEID_IDX_BG; break; |