Skip to content

Commit b870844

Browse files
mistraubegregkh
authored andcommitted
staging: rtl8723bs: rename rtw_os_alloc_msdu_pkt
Rename rtw_os_alloc_msdu_pkt to rtw_alloc_msdu_pkt as the _os_ indicates operating system dependent code which is unnecessary for in-tree linux kernel code. 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-10-straube.linux@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent f44d85d commit b870844

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/staging/rtl8723bs/core/rtw_recv.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1622,7 +1622,7 @@ static signed int wlanhdr_to_ethhdr(union recv_frame *precvframe)
16221622
return _SUCCESS;
16231623
}
16241624

1625-
static struct sk_buff *rtw_os_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata)
1625+
static struct sk_buff *rtw_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata)
16261626
{
16271627
u16 eth_type;
16281628
struct sk_buff *sub_skb;
@@ -1691,7 +1691,7 @@ static int amsdu_to_msdu(struct adapter *padapter, union recv_frame *prframe)
16911691
if (a_len < ETH_HLEN + nSubframe_Length)
16921692
break;
16931693

1694-
sub_pkt = rtw_os_alloc_msdu_pkt(prframe, nSubframe_Length, pdata);
1694+
sub_pkt = rtw_alloc_msdu_pkt(prframe, nSubframe_Length, pdata);
16951695
if (!sub_pkt)
16961696
break;
16971697

0 commit comments

Comments
 (0)