mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
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>
This commit is contained in:
parent
3334a76c3a
commit
314af4f77c
2 changed files with 3 additions and 4 deletions
|
@ -710,20 +710,20 @@ u8 rtl_mrate_idx_to_arfr_id(
|
||||||
ret = RATEID_IDX_BGN_40M_1SS;
|
ret = RATEID_IDX_BGN_40M_1SS;
|
||||||
else
|
else
|
||||||
ret = RATEID_IDX_BGN_40M_2SS;
|
ret = RATEID_IDX_BGN_40M_2SS;
|
||||||
; break;
|
break;
|
||||||
case RATR_INX_WIRELESS_N:
|
case RATR_INX_WIRELESS_N:
|
||||||
case RATR_INX_WIRELESS_NG:
|
case RATR_INX_WIRELESS_NG:
|
||||||
if (rtlphy->rf_type == RF_1T1R)
|
if (rtlphy->rf_type == RF_1T1R)
|
||||||
ret = RATEID_IDX_GN_N1SS;
|
ret = RATEID_IDX_GN_N1SS;
|
||||||
else
|
else
|
||||||
ret = RATEID_IDX_GN_N2SS;
|
ret = RATEID_IDX_GN_N2SS;
|
||||||
; break;
|
break;
|
||||||
case RATR_INX_WIRELESS_NB:
|
case RATR_INX_WIRELESS_NB:
|
||||||
if (rtlphy->rf_type == RF_1T1R)
|
if (rtlphy->rf_type == RF_1T1R)
|
||||||
ret = RATEID_IDX_BGN_20M_1SS_BN;
|
ret = RATEID_IDX_BGN_20M_1SS_BN;
|
||||||
else
|
else
|
||||||
ret = RATEID_IDX_BGN_20M_2SS_BN;
|
ret = RATEID_IDX_BGN_20M_2SS_BN;
|
||||||
; break;
|
break;
|
||||||
case RATR_INX_WIRELESS_GB:
|
case RATR_INX_WIRELESS_GB:
|
||||||
ret = RATEID_IDX_BG;
|
ret = RATEID_IDX_BG;
|
||||||
break;
|
break;
|
||||||
|
|
|
@ -142,7 +142,6 @@ void odm_c2h_ra_para_report_handler(void *dm_void, u8 *cmd_buf, u8 cmd_len)
|
||||||
"SGI_support =", cmd_buf[7]);
|
"SGI_support =", cmd_buf[7]);
|
||||||
ODM_RT_TRACE(dm, ODM_FW_DEBUG_TRACE, "%5s %d\n",
|
ODM_RT_TRACE(dm, ODM_FW_DEBUG_TRACE, "%5s %d\n",
|
||||||
"Rate_ID =", cmd_buf[8]);
|
"Rate_ID =", cmd_buf[8]);
|
||||||
;
|
|
||||||
}
|
}
|
||||||
ODM_RT_TRACE(dm, ODM_FW_DEBUG_TRACE,
|
ODM_RT_TRACE(dm, ODM_FW_DEBUG_TRACE,
|
||||||
"-------------------------------\n");
|
"-------------------------------\n");
|
||||||
|
|
Loading…
Reference in a new issue