瀏覽代碼

staging:r8188eu: remove pkt_newalloc member of the recv_buf structure

This member does not used.

Signed-off-by: Ivan Safonov <insafonov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Ivan Safonov 9 年之前
父節點
當前提交
2e2f78d078
共有 2 個文件被更改,包括 0 次插入2 次删除
  1. 0 1
      drivers/staging/rtl8188eu/include/rtw_recv.h
  2. 0 1
      drivers/staging/rtl8188eu/os_dep/recv_linux.c

+ 0 - 1
drivers/staging/rtl8188eu/include/rtw_recv.h

@@ -239,7 +239,6 @@ struct recv_buf {
 struct recv_frame {
 	struct list_head list;
 	struct sk_buff	 *pkt;
-	struct sk_buff	 *pkt_newalloc;
 	struct adapter  *adapter;
 	struct rx_pkt_attrib attrib;
 	uint  len;

+ 0 - 1
drivers/staging/rtl8188eu/os_dep/recv_linux.c

@@ -24,7 +24,6 @@
 /* alloc os related resource in struct recv_frame */
 void rtw_os_recv_resource_alloc(struct recv_frame *precvframe)
 {
-	precvframe->pkt_newalloc = NULL;
 	precvframe->pkt = NULL;
 }