staging: r8188eu: pkt_newalloc is not used
authorMartin Kaiser <martin@kaiser.cx>
Wed, 13 Apr 2022 20:07:42 +0000 (22:07 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Apr 2022 07:07:34 +0000 (09:07 +0200)
pkg_newalloc in struct recv_buf is not used. Remove it.

Signed-off-by: Martin Kaiser <martin@kaiser.cx>
Link: https://lore.kernel.org/r/20220413200742.276806-5-martin@kaiser.cx
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_recv.c
drivers/staging/r8188eu/include/rtw_recv.h

index 1622447..c1005dd 100644 (file)
@@ -71,7 +71,6 @@ int _rtw_init_recv_priv(struct recv_priv *precvpriv, struct adapter *padapter)
 
                list_add_tail(&precvframe->list, &precvpriv->free_recv_queue.queue);
 
-               precvframe->pkt_newalloc = NULL;
                precvframe->pkt = NULL;
 
                precvframe->len = 0;
index 59b4773..e57e48a 100644 (file)
@@ -229,7 +229,6 @@ struct recv_buf {
 struct recv_frame {
        struct list_head list;
        struct sk_buff   *pkt;
-       struct sk_buff   *pkt_newalloc;
        struct adapter  *adapter;
        u8 fragcnt;
        int frame_tag;