diff options
author | Michael Straube <straube.linux@gmail.com> | 2021-09-10 23:50:29 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-09-13 09:49:58 +0300 |
commit | bf73846567a983a743a40c6b77719e3d80dcd87b (patch) | |
tree | ada6da554c38801024ffa95a668e423fbf12a6e8 /drivers/staging/r8188eu/hal/hal_intf.c | |
parent | eb9760d50019110e4bbf1ad4e2f9bceb88b7d499 (diff) | |
download | linux-bf73846567a983a743a40c6b77719e3d80dcd87b.tar.xz |
staging: r8188eu: remove read_bbreg from struct hal_ops
Remove read_bbreg from struct hal_ops and its wrapper
rtw_hal_read_bbreg(). Call rtl8188e_PHY_QueryBBReg() directly instead.
Acked-by: Fabio M. De Francesco <fmdefrancesco@gmail.com>
Signed-off-by: Michael Straube <straube.linux@gmail.com>
Link: https://lore.kernel.org/r/20210910205033.3778-4-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.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/staging/r8188eu/hal/hal_intf.c b/drivers/staging/r8188eu/hal/hal_intf.c index fecdd272f84e..0036a6e8dc58 100644 --- a/drivers/staging/r8188eu/hal/hal_intf.c +++ b/drivers/staging/r8188eu/hal/hal_intf.c @@ -125,15 +125,6 @@ void rtw_hal_update_ra_mask(struct adapter *adapt, u32 mac_id, u8 rssi_level) } } -u32 rtw_hal_read_bbreg(struct adapter *adapt, u32 regaddr, u32 bitmask) -{ - u32 data = 0; - - if (adapt->HalFunc.read_bbreg) - data = adapt->HalFunc.read_bbreg(adapt, regaddr, bitmask); - return data; -} - void rtw_hal_write_bbreg(struct adapter *adapt, u32 regaddr, u32 bitmask, u32 data) { |