summaryrefslogtreecommitdiff
path: root/drivers/staging
diff options
context:
space:
mode:
authorMichael Straube <straube.linux@gmail.com>2025-07-15 20:28:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2025-07-16 09:38:45 +0200
commitafbb082971100dc9994ecd1f33a7d298518f1856 (patch)
tree8d577a8dc90b75a4117cf946aaab7a94487da033 /drivers/staging
parent8757b8dd63b2af093f14a4e6c247e41710259c84 (diff)
downloadlinux-afbb082971100dc9994ecd1f33a7d298518f1856.tar.gz
linux-afbb082971100dc9994ecd1f33a7d298518f1856.tar.bz2
linux-afbb082971100dc9994ecd1f33a7d298518f1856.zip
staging: rtl8723bs: remove macro hal_xmit_handler
Remove the macro hal_xmit_handler and use rtl8723bs_xmit_buf_handler directly to reduce code complexity. Signed-off-by: Michael Straube <straube.linux@gmail.com> Link: https://lore.kernel.org/r/20250715182814.212708-8-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging')
-rw-r--r--drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c2
-rw-r--r--drivers/staging/rtl8723bs/include/rtl8723b_xmit.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
index c6fda239d020..11d9b9031215 100644
--- a/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
+++ b/drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c
@@ -1315,7 +1315,7 @@ void UpdateHalRAMask8723B(struct adapter *padapter, u32 mac_id, u8 rssi_level)
void rtl8723b_set_hal_ops(struct hal_ops *pHalFunc)
{
- pHalFunc->xmit_thread_handler = &hal_xmit_handler;
+ pHalFunc->xmit_thread_handler = &rtl8723bs_xmit_buf_handler;
pHalFunc->c2h_id_filter_ccx = c2h_id_filter_ccx_8723b;
}
diff --git a/drivers/staging/rtl8723bs/include/rtl8723b_xmit.h b/drivers/staging/rtl8723bs/include/rtl8723b_xmit.h
index ac4ca7e05b9b..ddf868c7899b 100644
--- a/drivers/staging/rtl8723bs/include/rtl8723b_xmit.h
+++ b/drivers/staging/rtl8723bs/include/rtl8723b_xmit.h
@@ -414,7 +414,6 @@ s32 rtl8723bs_mgnt_xmit(struct adapter *padapter, struct xmit_frame *pmgntframe)
s32 rtl8723bs_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe);
s32 rtl8723bs_xmit_buf_handler(struct adapter *padapter);
int rtl8723bs_xmit_thread(void *context);
-#define hal_xmit_handler rtl8723bs_xmit_buf_handler
u8 BWMapping_8723B(struct adapter *Adapter, struct pkt_attrib *pattrib);
u8 SCMapping_8723B(struct adapter *Adapter, struct pkt_attrib *pattrib);