summaryrefslogtreecommitdiff
path: root/drivers/staging/r8188eu/hal/hal_intf.c
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2021-09-29 22:26:57 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-10-05 13:32:28 +0300
commitb9ba6875157702dfb80849ebeb4a54a6ae46fc46 (patch)
treeed7b2f901bb8644c034d5993b83c09efb0d65cbe /drivers/staging/r8188eu/hal/hal_intf.c
parent3a587ff652599562d44740581cb528ebe78ac838 (diff)
downloadlinux-b9ba6875157702dfb80849ebeb4a54a6ae46fc46.tar.xz
staging: r8188eu: remove inirp_deinit from struct hal_ops
Remove inirp_deinit from struct hal_ops and remove the wrappers rtw_hal_inirp_deinit() and rtl8188eu_inirp_deinit(). Call rtw_read_port_cancel() directly instead. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20210929192657.9569-8-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.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/staging/r8188eu/hal/hal_intf.c b/drivers/staging/r8188eu/hal/hal_intf.c
index ca7f0bcdb4d5..2e72848079e2 100644
--- a/drivers/staging/r8188eu/hal/hal_intf.c
+++ b/drivers/staging/r8188eu/hal/hal_intf.c
@@ -53,14 +53,6 @@ void rtw_hal_get_hwreg(struct adapter *adapt, u8 variable, u8 *val)
adapt->HalFunc.GetHwRegHandler(adapt, variable, val);
}
-u32 rtw_hal_inirp_deinit(struct adapter *adapt)
-{
- if (adapt->HalFunc.inirp_deinit)
- return adapt->HalFunc.inirp_deinit(adapt);
-
- return _FAIL;
-}
-
void rtw_hal_update_ra_mask(struct adapter *adapt, u32 mac_id, u8 rssi_level)
{
struct mlme_priv *pmlmepriv = &adapt->mlmepriv;