Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

staging: rtl8723bs: remove include/recv_osdep.h

Move still needed function prototypes defined in the recv_osdep.h header
to rtw_recv.h and remove the now obsolete recv_osdep.h.

Signed-off-by: Michael Straube <straube.linux@gmail.com>
Reviewed-by: Hans de Goede <hansg@kernel.org>
Link: https://lore.kernel.org/r/20250822135418.118115-14-straube.linux@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Michael Straube and committed by
Greg Kroah-Hartman
533656d3 6009d6fd

+4 -22
-1
drivers/staging/rtl8723bs/include/drv_types.h
··· 33 33 #include <xmit_osdep.h> 34 34 #include <rtw_recv.h> 35 35 36 - #include <recv_osdep.h> 37 36 #include <rtw_efuse.h> 38 37 #include <hal_intf.h> 39 38 #include <hal_com.h>
-21
drivers/staging/rtl8723bs/include/recv_osdep.h
··· 1 - /* SPDX-License-Identifier: GPL-2.0 */ 2 - /****************************************************************************** 3 - * 4 - * Copyright(c) 2007 - 2011 Realtek Corporation. All rights reserved. 5 - * 6 - ******************************************************************************/ 7 - #ifndef __RECV_OSDEP_H_ 8 - #define __RECV_OSDEP_H_ 9 - 10 - 11 - extern signed int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter); 12 - extern void _rtw_free_recv_priv(struct recv_priv *precvpriv); 13 - 14 - 15 - extern s32 rtw_recv_entry(union recv_frame *precv_frame); 16 - extern void rtw_recv_returnpacket(struct net_device *cnxt, struct sk_buff *preturnedpkt); 17 - 18 - int rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter); 19 - void rtw_free_recv_priv(struct recv_priv *precvpriv); 20 - 21 - #endif /* */
+4
drivers/staging/rtl8723bs/include/rtw_recv.h
··· 342 342 343 343 void rtw_reordering_ctrl_timeout_handler(struct timer_list *t); 344 344 345 + signed int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter); 346 + void _rtw_free_recv_priv(struct recv_priv *precvpriv); 347 + s32 rtw_recv_entry(union recv_frame *precv_frame); 348 + 345 349 static inline u8 *get_rxmem(union recv_frame *precvframe) 346 350 { 347 351 /* always return rx_head... */