aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
authorZhiyong Yang <zhiyong.yang@intel.com>2019-05-09 23:59:20 -0400
committerDave Barach <openvpp@barachs.net>2019-05-13 12:41:19 +0000
commit5bfb504d2156f9480c1dd813238bd46b71e689d8 (patch)
treef4112e267a6ce1eccec900273c155611c0be0477 /src/vnet
parent6b7e2332fbf74e043394699fd5d145af026d3719 (diff)
vnet: remove macro definitions
These two macro definitions should be removed as enum vnet_interface_helper_flags_t has defined them. Change-Id: I31bd0ea75639d2f9a53f396ac3cf42f9fc5fbdbe Signed-off-by: Zhiyong Yang <zhiyong.yang@intel.com>
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/interface.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vnet/interface.c b/src/vnet/interface.c
index dbfe49694f5..8af2b58ae8a 100644
--- a/src/vnet/interface.c
+++ b/src/vnet/interface.c
@@ -287,9 +287,6 @@ call_sw_interface_add_del_callbacks (vnet_main_t * vnm, u32 sw_if_index,
(vnm, sw_if_index, is_create, vnm->sw_interface_add_del_functions);
}
-#define VNET_INTERFACE_SET_FLAGS_HELPER_IS_CREATE (1 << 0)
-#define VNET_INTERFACE_SET_FLAGS_HELPER_WANT_REDISTRIBUTE (1 << 1)
-
static clib_error_t *
vnet_hw_interface_set_flags_helper (vnet_main_t * vnm, u32 hw_if_index,
vnet_hw_interface_flags_t flags,