projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7a4d40d
)
net: mv643xx_eth: Remove unused inline function sum16_as_be
author
YueHaibing
<yuehaibing@huawei.com>
Tue, 5 May 2020 08:40:37 +0000
(16:40 +0800)
committer
David S. Miller
<davem@davemloft.net>
Tue, 5 May 2020 19:07:43 +0000
(12:07 -0700)
commit
84411f73b884
("net: mv643xx_eth: Avoid setting the initial TCP checksum")
left behind this, remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/marvell/mv643xx_eth.c
patch
|
blob
|
history
diff --git
a/drivers/net/ethernet/marvell/mv643xx_eth.c
b/drivers/net/ethernet/marvell/mv643xx_eth.c
index 81d24481b22c3749716c043a0ede1d91b62c6622..4d4b6243318a59ac01190446766d2864f016564e 100644
(file)
--- a/
drivers/net/ethernet/marvell/mv643xx_eth.c
+++ b/
drivers/net/ethernet/marvell/mv643xx_eth.c
@@
-666,11
+666,6
@@
static inline unsigned int has_tiny_unaligned_frags(struct sk_buff *skb)
return 0;
}
-static inline __be16 sum16_as_be(__sum16 sum)
-{
- return (__force __be16)sum;
-}
-
static int skb_tx_csum(struct mv643xx_eth_private *mp, struct sk_buff *skb,
u16 *l4i_chk, u32 *command, int length)
{