Skip to content

Commit afbb082

Browse files
mistraubegregkh
authored andcommitted
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>
1 parent 8757b8d commit afbb082

2 files changed

Lines changed: 1 addition & 2 deletions

File tree

drivers/staging/rtl8723bs/hal/rtl8723b_hal_init.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1315,7 +1315,7 @@ void UpdateHalRAMask8723B(struct adapter *padapter, u32 mac_id, u8 rssi_level)
13151315

13161316
void rtl8723b_set_hal_ops(struct hal_ops *pHalFunc)
13171317
{
1318-
pHalFunc->xmit_thread_handler = &hal_xmit_handler;
1318+
pHalFunc->xmit_thread_handler = &rtl8723bs_xmit_buf_handler;
13191319

13201320
pHalFunc->c2h_id_filter_ccx = c2h_id_filter_ccx_8723b;
13211321
}

drivers/staging/rtl8723bs/include/rtl8723b_xmit.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -414,7 +414,6 @@ s32 rtl8723bs_mgnt_xmit(struct adapter *padapter, struct xmit_frame *pmgntframe)
414414
s32 rtl8723bs_hal_xmitframe_enqueue(struct adapter *padapter, struct xmit_frame *pxmitframe);
415415
s32 rtl8723bs_xmit_buf_handler(struct adapter *padapter);
416416
int rtl8723bs_xmit_thread(void *context);
417-
#define hal_xmit_handler rtl8723bs_xmit_buf_handler
418417

419418
u8 BWMapping_8723B(struct adapter *Adapter, struct pkt_attrib *pattrib);
420419
u8 SCMapping_8723B(struct adapter *Adapter, struct pkt_attrib *pattrib);

0 commit comments

Comments
 (0)