aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/mfib
diff options
context:
space:
mode:
authorNeale Ranns <nranns@cisco.com>2019-07-01 12:43:33 +0000
committerDamjan Marion <dmarion@me.com>2019-07-02 12:29:45 +0000
commit312758f9af526d3d498219cf84e58887d6740687 (patch)
tree0ec08e3edc601b687473c47b9638914208b79c06 /src/vnet/mfib
parent9a2082fb51693a25a17337f93795859fe5b760ec (diff)
fib: Coverity fix to remove dead code
Type: fix Change-Id: I678f523f058165030572d9cd395802b772db9ed7 Signed-off-by: Neale Ranns <nranns@cisco.com>
Diffstat (limited to 'src/vnet/mfib')
-rw-r--r--src/vnet/mfib/mfib_api.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/mfib/mfib_api.c b/src/vnet/mfib/mfib_api.c
index bcab83ba0e5..1066a9d3b62 100644
--- a/src/vnet/mfib/mfib_api.c
+++ b/src/vnet/mfib/mfib_api.c
@@ -80,8 +80,6 @@ mfib_api_path_itf_flags_decode (vl_api_mfib_itf_flags_t in,
{
in = clib_net_to_host_u32(in);
- if (in & MFIB_API_ITF_FLAG_NONE)
- *out |= MFIB_ITF_FLAG_NONE;
if (in & MFIB_API_ITF_FLAG_NEGATE_SIGNAL)
*out |= MFIB_ITF_FLAG_NEGATE_SIGNAL;
if (in & MFIB_API_ITF_FLAG_ACCEPT)