projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2f4b652
)
staging: r8188eu: core: remove unused function rtw_set_tx_chksum_offload
author
Saurav Girepunje
<saurav.girepunje@gmail.com>
Sun, 12 Sep 2021 16:57:20 +0000
(22:27 +0530)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Mon, 13 Sep 2021 16:23:52 +0000
(18:23 +0200)
Remove unused function rtw_set_tx_chksum_offload.
Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com>
Link:
https://lore.kernel.org/r/YT4xcJvvlPSIS+T6@user
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/r8188eu/core/rtw_xmit.c
patch
|
blob
|
blame
|
history
drivers/staging/r8188eu/include/xmit_osdep.h
patch
|
blob
|
blame
|
history
drivers/staging/r8188eu/os_dep/xmit_linux.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/staging/r8188eu/core/rtw_xmit.c
b/drivers/staging/r8188eu/core/rtw_xmit.c
index d7f3f833f9147bce19023b17d57717b28d79ef40..f9ae48f73cdf97e8fccfe560da92c62666367b26 100644
(file)
--- a/
drivers/staging/r8188eu/core/rtw_xmit.c
+++ b/
drivers/staging/r8188eu/core/rtw_xmit.c
@@
-577,8
+577,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:
diff --git
a/drivers/staging/r8188eu/include/xmit_osdep.h
b/drivers/staging/r8188eu/include/xmit_osdep.h
index 191c36361b632af9edd125529dd351b933fd3ab7..3e778dff0ed88a96d99638dd835775e5ab027e1c 100644
(file)
--- a/
drivers/staging/r8188eu/include/xmit_osdep.h
+++ b/
drivers/staging/r8188eu/include/xmit_osdep.h
@@
-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);
diff --git
a/drivers/staging/r8188eu/os_dep/xmit_linux.c
b/drivers/staging/r8188eu/os_dep/xmit_linux.c
index 565ac5be7db3ec0dda5149063c2a2fb385736b88..088c294f2586a86a5556264db4251ce1e0185c0c 100644
(file)
--- a/
drivers/staging/r8188eu/os_dep/xmit_linux.c
+++ b/
drivers/staging/r8188eu/os_dep/xmit_linux.c
@@
-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;