From ae34872077c956aa34ee816b55ccb5c5f6ab40a1 Mon Sep 17 00:00:00 2001 From: Damjan Marion Date: Sun, 18 Apr 2021 21:03:24 +0200 Subject: ip: remove dead code from ip_csum Type: fix Change-Id: I3b37257e86175743a7bac80c531491565f0a8dcd Signed-off-by: Damjan Marion --- src/vnet/ip/ip_packet.h | 1 - 1 file changed, 1 deletion(-) (limited to 'src/vnet') 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; -- cgit 1.2.3-korg