diff options
author | Ole Troan <ot@cisco.com> | 2018-06-12 11:39:15 +0200 |
---|---|---|
committer | Ole Troan <ot@cisco.com> | 2018-06-12 11:40:18 +0200 |
commit | e2552039dfcf91fe9f7b237da5fd1b74bf449ca2 (patch) | |
tree | d2f2a4d798661e43deead6b051dc02bce957618f /src | |
parent | 0af529c4c50bfa52e83cd4190e7d8baa5b20022f (diff) |
MTU assigning to itself (Coverity)
Change-Id: Iee8de25ab3c68ae3698c79852195dc336050914c
Signed-off-by: Ole Troan <ot@cisco.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/plugins/dpdk/device/init.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/plugins/dpdk/device/init.c b/src/plugins/dpdk/device/init.c index 461bae0ba62..66678e685c0 100644 --- a/src/plugins/dpdk/device/init.c +++ b/src/plugins/dpdk/device/init.c @@ -1679,10 +1679,6 @@ dpdk_process (vlib_main_t * vm, vlib_node_runtime_t * rt, vlib_frame_t * f) clib_memcpy (sei->address, addr, 6); /* Set l3 packet size allowed as the lowest of slave */ if (bhi->max_packet_bytes > shi->max_packet_bytes) - bhi->max_packet_bytes = bhi->max_packet_bytes; - - /* Set max packet size allowed as the lowest of slave */ - if (bhi->max_packet_bytes > shi->max_packet_bytes) bhi->max_packet_bytes = shi->max_packet_bytes; } } |