summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rtl8723bs/hal
diff options
context:
space:
mode:
authorQuytelda Kahja2018-06-17 07:30:34 +0200
committerGreg Kroah-Hartman2018-06-28 15:03:16 +0200
commitac41f631d4187f072e9e693fbdb4423e2e0f0e00 (patch)
treec5d934e1ff4626ebf87adec08ff2d190d612d814 /drivers/staging/rtl8723bs/hal
parentstaging: rtl8723bs: Combine if statements with equivalent body. (diff)
downloadkernel-qcow2-linux-ac41f631d4187f072e9e693fbdb4423e2e0f0e00.tar.gz
kernel-qcow2-linux-ac41f631d4187f072e9e693fbdb4423e2e0f0e00.tar.xz
kernel-qcow2-linux-ac41f631d4187f072e9e693fbdb4423e2e0f0e00.zip
staging: rtl8723bs: Remove empty else-if conditional.
This else-if conditional block does nothing; remove it. Signed-off-by: Quytelda Kahja <quytelda@tamalin.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rtl8723bs/hal')
-rw-r--r--drivers/staging/rtl8723bs/hal/hal_com_phycfg.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
index 5d44aee44eb1..6ae646ec3d06 100644
--- a/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
+++ b/drivers/staging/rtl8723bs/hal/hal_com_phycfg.c
@@ -1751,9 +1751,6 @@ s8 phy_get_tx_pwr_lmt(struct adapter *adapter, u32 reg_pwr_tbl_sel,
else if (band_type == BAND_ON_5G)
channel = phy_GetChannelIndexOfTxPowerLimit(BAND_ON_5G,
channel);
- else if (band_type == BAND_ON_BOTH) {
- /* BAND_ON_BOTH don't care temporarily */
- }
if (idx_band == -1 || idx_regulation == -1 || idx_bandwidth == -1 ||
idx_rate_sctn == -1 || idx_channel == -1) {