staging: r8188eu: core: remove unused variable Adapter

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>
This commit is contained in:
Saurav Girepunje
2021-09-10 23:50:26 +05:30
committed by Greg Kroah-Hartman
parent c916d87884
commit 1ceb1029ee
3 changed files with 3 additions and 3 deletions

View 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;

View 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__);

View 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_ */