Coverity Error: logically dead code in IP unnumbered CLI

Change-Id: Id3398bd4b7a56c168aaab37942b92715e19d4025
Signed-off-by: Neale Ranns <nranns@cisco.com>
This commit is contained in:
Neale Ranns
2017-03-29 09:34:10 -07:00
committed by Ole Trøan
parent 8539770ecb
commit 2c0d0fed47

View File

@ -885,10 +885,6 @@ set_unnumbered (vlib_main_t * vm,
ip6_main.lookup_main.if_address_pool_index_by_sw_if_index
[inherit_from_sw_if_index];
}
else
{
return (0);
}
if (was_unnum != (si->flags & VNET_SW_INTERFACE_FLAG_UNNUMBERED))
{