staging: r8188eu: remove rtl8188e_set_rssi_cmd()
authorMichael Straube <straube.linux@gmail.com>
Sat, 18 Sep 2021 09:57:26 +0000 (11:57 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 Sep 2021 11:40:21 +0000 (13:40 +0200)
Function rtl8188e_set_rssi_cmd() is not used, remove it.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210918095727.13591-8-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/hal/rtl8188e_cmd.c
drivers/staging/r8188eu/include/rtl8188e_cmd.h

index 6cdc2e40aad422ee6a3005bb9de40a77194f5f23..6450c2c32f8ad05943363fe1243e14cbbb5fc66b 100644 (file)
@@ -109,21 +109,6 @@ exit:
        return ret;
 }
 
-u8 rtl8188e_set_rssi_cmd(struct adapter *adapt, u8 *param)
-{
-       u8 res = _SUCCESS;
-       struct hal_data_8188e *haldata = GET_HAL_DATA(adapt);
-
-       if (haldata->fw_ractrl) {
-               ;
-       } else {
-               DBG_88E("==>%s fw dont support RA\n", __func__);
-               res = _FAIL;
-       }
-
-       return res;
-}
-
 u8 rtl8188e_set_raid_cmd(struct adapter *adapt, u32 mask)
 {
        u8 buf[3];
index 626df5f44fc5e437f6e4a76e785144bb658cda9f..01404b774ebd0fb106f1a6691b39457659c2765c 100644 (file)
@@ -91,7 +91,6 @@ struct P2P_PS_CTWPeriod_t {
 /*  host message to firmware cmd */
 void rtl8188e_set_FwPwrMode_cmd(struct adapter *padapter, u8 Mode);
 void rtl8188e_set_FwJoinBssReport_cmd(struct adapter *padapter, u8 mstatus);
-u8 rtl8188e_set_rssi_cmd(struct adapter *padapter, u8 *param);
 u8 rtl8188e_set_raid_cmd(struct adapter *padapter, u32 mask);
 void rtl8188e_Add_RateATid(struct adapter *padapter, u32 bitmap, u8 arg,
                           u8 rssi_level);