diff options
author | Damjan Marion <damarion@cisco.com> | 2021-04-18 21:03:24 +0200 |
---|---|---|
committer | Florin Coras <florin.coras@gmail.com> | 2021-04-18 21:02:26 +0000 |
commit | ae34872077c956aa34ee816b55ccb5c5f6ab40a1 (patch) | |
tree | 7922bc574af8702d3f99de0d30e14a80b4536e8c /src | |
parent | e3b256ed5bead9832d068a864e64a3c727fff63a (diff) |
ip: remove dead code from ip_csum
Type: fix
Change-Id: I3b37257e86175743a7bac80c531491565f0a8dcd
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/vnet/ip/ip_packet.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/vnet/ip/ip_packet.h b/src/vnet/ip/ip_packet.h index e1089ec308e..c160deefbeb 100644 --- a/src/vnet/ip/ip_packet.h +++ b/src/vnet/ip/ip_packet.h @@ -192,7 +192,6 @@ ip_csum (void *data, u16 n_left) #ifdef CLIB_ARCH_IS_LITTLE_ENDIAN v1 = u16x16_byte_swap (v1); #endif - v1 = u16x16_byte_swap (u16x16_load_unaligned (data)); sum8 += u32x8_from_u16x8 (u16x16_extract_lo (v1)); sum8 += u32x8_from_u16x8 (u16x16_extract_hi (v1)); n_left -= 16; |