]> www.infradead.org Git - users/hch/misc.git/commitdiff
staging: rtl8723bs: rename rtw_os_alloc_msdu_pkt
authorMichael Straube <straube.linux@gmail.com>
Fri, 22 Aug 2025 13:54:14 +0000 (15:54 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 6 Sep 2025 13:55:12 +0000 (15:55 +0200)
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>
drivers/staging/rtl8723bs/core/rtw_recv.c

index 4947099d8595aa081001d6b404877941185ba71a..a8b388822719f286186b7ae842a719bf85518e08 100644 (file)
@@ -1622,7 +1622,7 @@ static signed int wlanhdr_to_ethhdr(union recv_frame *precvframe)
        return _SUCCESS;
 }
 
-static struct sk_buff *rtw_os_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata)
+static struct sk_buff *rtw_alloc_msdu_pkt(union recv_frame *prframe, u16 nSubframe_Length, u8 *pdata)
 {
        u16 eth_type;
        struct sk_buff *sub_skb;
@@ -1691,7 +1691,7 @@ static int amsdu_to_msdu(struct adapter *padapter, union recv_frame *prframe)
                if (a_len < ETH_HLEN + nSubframe_Length)
                        break;
 
-               sub_pkt = rtw_os_alloc_msdu_pkt(prframe, nSubframe_Length, pdata);
+               sub_pkt = rtw_alloc_msdu_pkt(prframe, nSubframe_Length, pdata);
                if (!sub_pkt)
                        break;