mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net.git/
synced 2026-04-05 00:07:48 -04:00
staging: rtl8723bs: remove unnecessary braces
Remove braces from single statement if blocks to adhere to the Linux kernel coding style. Signed-off-by: Louis Lesniak <louis.lesniak2@gmail.com> Link: https://patch.msgid.link/20260128154407.42421-1-louis.lesniak2@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
b59f9bc5f3
commit
11f4e52502
@@ -63,11 +63,10 @@ u8 networktype_to_raid_ex(struct adapter *adapter, struct sta_info *psta)
|
||||
break;
|
||||
case WIRELESS_11B_24N:
|
||||
case WIRELESS_11BG_24N:
|
||||
if (psta->bw_mode == CHANNEL_WIDTH_20) {
|
||||
if (psta->bw_mode == CHANNEL_WIDTH_20)
|
||||
raid = RATEID_IDX_BGN_20M_1SS_BN;
|
||||
} else {
|
||||
else
|
||||
raid = RATEID_IDX_BGN_40M_1SS;
|
||||
}
|
||||
break;
|
||||
default:
|
||||
raid = RATEID_IDX_BGN_40M_2SS;
|
||||
|
||||
Reference in New Issue
Block a user