summaryrefslogtreecommitdiff
path: root/drivers/staging/r8188eu/hal/hal_intf.c
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2021-09-10 14:11:08 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-09-13 09:49:55 +0300
commit7946b5d6a984ca695442c8ec1227a0588187960b (patch)
tree056d9dd8bb53b2167942224ba7bf12c9495f7b43 /drivers/staging/r8188eu/hal/hal_intf.c
parent3658a223d9c121ae5cd417eb20331695d32da4fb (diff)
downloadlinux-7946b5d6a984ca695442c8ec1227a0588187960b.tar.xz
staging: r8188eu: remove IOL_exec_cmds_sync() from struct hal_ops
Remove IOL_exec_cmds_sync() from struct hal_ops and its wrapper rtw_hal_iol_cmd(). Call rtl8188e_IOL_exec_cmds_sync() directly instead. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210910111110.4628-1-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/r8188eu/hal/hal_intf.c')
-rw-r--r--drivers/staging/r8188eu/hal/hal_intf.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/staging/r8188eu/hal/hal_intf.c b/drivers/staging/r8188eu/hal/hal_intf.c
index 53459e7f3db4..ee92af81ea05 100644
--- a/drivers/staging/r8188eu/hal/hal_intf.c
+++ b/drivers/staging/r8188eu/hal/hal_intf.c
@@ -175,13 +175,3 @@ void rtw_hal_write_rfreg(struct adapter *adapt, enum rf_radio_path rfpath,
adapt->HalFunc.write_rfreg(adapt, rfpath, regaddr,
bitmask, data);
}
-
-int rtw_hal_iol_cmd(struct adapter *adapter, struct xmit_frame *xmit_frame,
- u32 max_wating_ms, u32 bndy_cnt)
-{
- if (adapter->HalFunc.IOL_exec_cmds_sync)
- return adapter->HalFunc.IOL_exec_cmds_sync(adapter, xmit_frame,
- max_wating_ms,
- bndy_cnt);
- return _FAIL;
-}