staging: r8188eu: core: remove unused variable Adapter
authorSaurav Girepunje <saurav.girepunje@gmail.com>
Fri, 10 Sep 2021 18:20:26 +0000 (23:50 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 06:49:55 +0000 (08:49 +0200)
Remove unused variable Adapter from rtw_IOL_cmd_buf_dump function.

Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link: https://lore.kernel.org/r/YTuh6iDyPMUC3wha@user
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_iol.c
drivers/staging/r8188eu/hal/rtl8188e_hal_init.c
drivers/staging/r8188eu/include/rtw_iol.h

index ff08861b7acb2875b9b118fb2c5fd8f6ae89aee2..ee7cda76e76720702fbfb861c628a48e6f79a8c2 100644 (file)
@@ -164,7 +164,7 @@ u8 rtw_IOL_cmd_boundary_handle(struct xmit_frame *pxmit_frame)
        return is_cmd_bndy;
 }
 
-void rtw_IOL_cmd_buf_dump(struct adapter  *Adapter, int buf_len, u8 *pbuf)
+void rtw_IOL_cmd_buf_dump(int buf_len, u8 *pbuf)
 {
        int i;
        int j = 1;
index 5ea96a5ac6304b696c3a8875c64bf8a5c316c46d..281c6af47dab1c5afbd8a6253b45b02335e48180 100644 (file)
@@ -362,7 +362,7 @@ void rtw_IOL_cmd_tx_pkt_buf_dump(struct adapter *Adapter, int data_len)
                                rtw_usleep_os(2);
                        } while (!rstatus && (loop++ < 10));
                }
-               rtw_IOL_cmd_buf_dump(Adapter, data_len, pbuf);
+               rtw_IOL_cmd_buf_dump(data_len, pbuf);
                vfree(pbuf);
        }
        DBG_88E("###### %s ######\n", __func__);
index bb2c9fcf89850bbe84edb177c15675aba45484d9..4d44e59fd04fa4ab4caf900a9574968fe771d9ed 100644 (file)
@@ -59,6 +59,6 @@ int _rtw_IOL_append_WRF_cmd(struct xmit_frame *xmit_frame, u8 rf_path,
        _rtw_IOL_append_WRF_cmd((xmit_frame),(rf_path), (addr), (value), (mask))
 
 u8 rtw_IOL_cmd_boundary_handle(struct xmit_frame *pxmit_frame);
-void  rtw_IOL_cmd_buf_dump(struct adapter  *Adapter,int buf_len,u8 *pbuf);
+void  rtw_IOL_cmd_buf_dump(int buf_len, u8 *pbuf);
 
 #endif /* __RTW_IOL_H_ */