Skip to content

Commit

Permalink
net: mv643xx_eth: Remove unused inline function sum16_as_be
Browse files Browse the repository at this point in the history
commit 84411f7 ("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>
  • Loading branch information
YueHaibing authored and David S. Miller committed May 5, 2020
1 parent 7a4d40d commit 12dcceb
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions drivers/net/ethernet/marvell/mv643xx_eth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 12dcceb

Please sign in to comment.