]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
staging: rtl8723bs: Remove empty else-if conditional.
authorQuytelda Kahja <quytelda@tamalin.org>
Sun, 17 Jun 2018 05:30:34 +0000 (22:30 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Jun 2018 13:03:16 +0000 (22:03 +0900)
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>
drivers/staging/rtl8723bs/hal/hal_com_phycfg.c

index 5d44aee44eb106454fb3eb260521e57b0349a65a..6ae646ec3d065526902d990bf900068269d2fbc7 100644 (file)
@@ -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) {