Skip to contentSkip to conversation

staging: r8188eu: core: remove unused function rtw_set_tx_chksum_offload

PATCH New Saurav Girepunje 1 participant 1 message Sep 12, 2021 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: r8188eu: core: remove unused function rtw_set_tx_chksum_offload

Remove unused function rtw_set_tx_chksum_offload.

---
 drivers/staging/r8188eu/core/rtw_xmit.c      | 2 --
 drivers/staging/r8188eu/include/xmit_osdep.h | 2 --
 drivers/staging/r8188eu/os_dep/xmit_linux.c  | 4 ----
 3 files changed, 8 deletions(-)
drivers/staging/r8188eu/core/rtw_xmit.c +0 -2
index 46fe62c7c32c..324ab2db674f 100644
@@ -576,8 +576,6 @@ static s32 update_attrib(struct adapter *padapter, struct sk_buff *pkt, struct p
 	else
 		pattrib->bswenc = false;
 
-	rtw_set_tx_chksum_offload(pkt, pattrib);
-
 	update_attrib_phy_info(pattrib, psta);
 
 exit:
drivers/staging/r8188eu/include/xmit_osdep.h +0 -2
index 191c36361b63..3e778dff0ed8 100644
@@ -37,8 +37,6 @@ int rtw_os_xmit_resource_alloc(struct adapter *padapter,
 void rtw_os_xmit_resource_free(struct adapter *padapter,
 			       struct xmit_buf *pxmitbuf, u32 free_sz);
 
-void rtw_set_tx_chksum_offload(struct sk_buff *pkt, struct pkt_attrib *pattrib);
-
 uint rtw_remainder_len(struct pkt_file *pfile);
 void _rtw_open_pktfile(struct sk_buff *pkt, struct pkt_file *pfile);
 uint _rtw_pktfile_read(struct pkt_file *pfile, u8 *rmem, uint rlen);
drivers/staging/r8188eu/os_dep/xmit_linux.c +0 -4
index 565ac5be7db3..088c294f2586 100644
@@ -65,10 +65,6 @@ int rtw_endofpktfile(struct pkt_file *pfile)
 	return false;
 }
 
-void rtw_set_tx_chksum_offload(struct sk_buff *pkt, struct pkt_attrib *pattrib)
-{
-}
-
 int rtw_os_xmit_resource_alloc(struct adapter *padapter, struct xmit_buf *pxmitbuf, u32 alloc_sz)
 {
 	int i;

--
2.32.0