staging: rtl8723bs: remove rtw_set_tx_chksum_offload()
PATCH v2 1/1 staging: rtl8723bs: remove rtw_set_tx_chksum_offload()
The function rtw_set_tx_chksum_offload() has empty definition.
Signed-off-by Michael Straube <[email protected]>
--- drivers/staging/rtl8723bs/core/rtw_xmit.c | 2 -- drivers/staging/rtl8723bs/include/xmit_osdep.h | 2 -- drivers/staging/rtl8723bs/os_dep/xmit_linux.c | 5 ----- 3 files changed, 9 deletions(-)
drivers/staging/rtl8723bs/core/rtw_xmit.c +0 -2
@@ -845,8 +845,6 @@ static s32 update_attrib(struct adapter *padapter, _pkt *pkt, struct pkt_attrib/* pattrib->priority = 5; force to used VI queue, for testing */ -rtw_set_tx_chksum_offload (pkt, pattrib); - exit:return res; }
drivers/staging/rtl8723bs/include/xmit_osdep.h +0 -2
@@ -33,8 +33,6 @@ void rtw_os_xmit_schedule(struct adapter *padapter);int rtw_os_xmit_resource_alloc (struct adapter *padapter,struct xmit_buf *pxmitbuf,u32 alloc_sz,u8 flag);void rtw_os_xmit_resource_free (struct adapter *padapter,struct xmit_buf *pxmitbuf,u32 free_sz,u8 flag); -extern void rtw_set_tx_chksum_offload (_pkt *pkt,struct pkt_attrib *pattrib); -extern uint rtw_remainder_len (struct pkt_file *pfile);extern void _rtw_open_pktfile (_pkt *pkt,struct pkt_file *pfile);extern uint _rtw_pktfile_read (struct pkt_file *pfile,u8 *rmem,uint rlen);
drivers/staging/rtl8723bs/os_dep/xmit_linux.c +0 -5
@@ -46,11 +46,6 @@ sint rtw_endofpktfile(struct pkt_file *pfile)return false; } -void rtw_set_tx_chksum_offload (_pkt *pkt,struct pkt_attrib *pattrib) -{ - -} -int rtw_os_xmit_resource_alloc (struct adapter *padapter,struct xmit_buf *pxmitbuf,u32 alloc_sz,u8 flag) {if (alloc_sz >0 ) {
Signature · 1 line
2.18.0