* [PATCH net-next] net: mv643xx_eth: Remove unused inline function sum16_as_be
@ 2020-05-05 8:40 YueHaibing
2020-05-05 19:46 ` David Miller
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2020-05-05 8:40 UTC (permalink / raw)
To: sebastian.hesselbarth, davem; +Cc: netdev, linux-kernel, YueHaibing
commit 84411f73b884 ("net: mv643xx_eth: Avoid setting the initial TCP checksum")
left behind this, remove it.
Signed-off-by: YueHaibing <yuehaibing@huawei.com>
---
drivers/net/ethernet/marvell/mv643xx_eth.c | 5 -----
1 file changed, 5 deletions(-)
diff --git a/drivers/net/ethernet/marvell/mv643xx_eth.c b/drivers/net/ethernet/marvell/mv643xx_eth.c
index 81d24481b22c..4d4b6243318a 100644
--- 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)
{
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH net-next] net: mv643xx_eth: Remove unused inline function sum16_as_be
2020-05-05 8:40 [PATCH net-next] net: mv643xx_eth: Remove unused inline function sum16_as_be YueHaibing
@ 2020-05-05 19:46 ` David Miller
0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2020-05-05 19:46 UTC (permalink / raw)
To: yuehaibing; +Cc: sebastian.hesselbarth, netdev, linux-kernel
From: YueHaibing <yuehaibing@huawei.com>
Date: Tue, 5 May 2020 16:40:37 +0800
> commit 84411f73b884 ("net: mv643xx_eth: Avoid setting the initial TCP checksum")
> left behind this, remove it.
>
> Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Applied.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-05-05 19:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-05 8:40 [PATCH net-next] net: mv643xx_eth: Remove unused inline function sum16_as_be YueHaibing
2020-05-05 19:46 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.