staging: rtl8188eu: Remove unused inline function recvframe_push()
PATCH 9/13 staging: rtl8188eu: Remove unused inline function recvframe_push()
Signed-off-by navin patidar <[email protected]>
--- drivers/staging/rtl8188eu/include/rtw_recv.h | 20 -------------------- 1 file changed, 20 deletions(-)
drivers/staging/rtl8188eu/include/rtw_recv.h +0 -20
@@ -296,26 +296,6 @@ static inline u8 *get_rx_status(struct recv_frame *precvframe)return get_rxmem (precvframe); } -static inline u8 *recvframe_push (struct recv_frame *precvframe,int sz) -{ -/* append data before rx_data */ - -/* add data to the start of recv_frame -* -* This function extends the used data area of the recv_frame at the buffer -* start. rx_data must be still larger than rx_head, after pushing. -*/ -if (precvframe ==NULL ) -return NULL ; - precvframe->rx_data -= sz; -if (precvframe->rx_data < precvframe->rx_head) { - precvframe->rx_data += sz; -return NULL ; - } - precvframe->len += sz; -return precvframe->rx_data; -} -static inline u8 *recvframe_pull (struct recv_frame *precvframe,int sz) {/* rx_data += sz; move rx_data sz bytes hereafter */
Signature · 1 line
1.7.10.4
PATCH 10/13 staging: rtl8188eu: Remove unused inline function get_rx_status()
Signed-off-by navin patidar <[email protected]>
--- drivers/staging/rtl8188eu/include/rtw_recv.h | 5 ----- 1 file changed, 5 deletions(-)
drivers/staging/rtl8188eu/include/rtw_recv.h +0 -5
@@ -291,11 +291,6 @@ static inline u8 *get_rxmem(struct recv_frame *precvframe)return precvframe->rx_head; } -static inline u8 *get_rx_status (struct recv_frame *precvframe) -{ -return get_rxmem (precvframe); -} -static inline u8 *recvframe_pull (struct recv_frame *precvframe,int sz) {/* rx_data += sz; move rx_data sz bytes hereafter */
Signature · 1 line
1.7.10.4
PATCH 11/13 staging: rtl8188eu: Remove 'void *precvbuf' from struct recv_frame
In reply to navin patidarRemove unused variable 'void *precvbuf'.
Signed-off-by navin patidar <[email protected]>
--- drivers/staging/rtl8188eu/hal/usb_ops_linux.c | 1 - drivers/staging/rtl8188eu/include/rtw_recv.h | 1 - 2 files changed, 2 deletions(-)
drivers/staging/rtl8188eu/hal/usb_ops_linux.c +0 -1
@@ -333,7 +333,6 @@ static int recvbuf2recvframe(struct adapter *adapt, struct sk_buff *pskb) }_rtw_init_listhead (&precvframe->list); - precvframe->precvbuf =NULL ;/* can't access the precvbuf for new arch. */ precvframe->len =0 ;update_recvframe_attrib_88e (precvframe, prxstat);
drivers/staging/rtl8188eu/include/rtw_recv.h +0 -1
@@ -261,7 +261,6 @@ struct recv_frame {u8 *rx_data;u8 *rx_tail;u8 *rx_end; -void *precvbuf;struct sta_info *psta;/* for A-MPDU Rx reordering buffer control */ struct recv_reorder_ctrl *preorder_ctrl;
Signature · 1 line
1.7.10.4
PATCH 12/13 staging: rtl8188eu: Remove 'int frame_tag' from struct recv_frame
In reply to navin patidarRemove unused variable 'int frame_tag'.
Signed-off-by navin patidar <[email protected]>
--- drivers/staging/rtl8188eu/include/rtw_recv.h | 1 - 1 file changed, 1 deletion(-)
drivers/staging/rtl8188eu/include/rtw_recv.h +0 -1
@@ -254,7 +254,6 @@ struct recv_frame {struct sk_buff *pkt_newalloc;struct adapter *adapter;u8 fragcnt; -int frame_tag;struct rx_pkt_attrib attrib;uint len;u8 *rx_head;
Signature · 1 line
1.7.10.4
PATCH 13/13 staging: rtl8188eu: Remove 'u8 fragcnt' from struct recv_frame
In reply to navin patidarRemove unused variable 'u8 fragcnt'.
Signed-off-by navin patidar <[email protected]>
--- drivers/staging/rtl8188eu/include/rtw_recv.h | 1 - 1 file changed, 1 deletion(-)
drivers/staging/rtl8188eu/include/rtw_recv.h +0 -1
@@ -253,7 +253,6 @@ struct recv_frame {struct sk_buff *pkt;struct sk_buff *pkt_newalloc;struct adapter *adapter; -u8 fragcnt;struct rx_pkt_attrib attrib;uint len;u8 *rx_head;
Signature · 1 line
1.7.10.4