aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/bonding/device.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2023-10-26 19:44:18 +0000
committerDamjan Marion <damarion@cisco.com>2023-10-26 19:45:59 +0000
commit4e8f9be4351ccb3d0b5b1c70177c6a0addbf1fad (patch)
treee45518e0429daba09a0c08b4983913b3e35dffe5 /src/vnet/bonding/device.c
parentefe875e7cd4bbdf0d55374c7a49577f02a92a3fd (diff)
devices: remove unused code
Type: improvement Change-Id: I2427e1a93e89e9a7ac884b84352b96cf523ae11e Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/bonding/device.c')
-rw-r--r--src/vnet/bonding/device.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/vnet/bonding/device.c b/src/vnet/bonding/device.c
index ca48585fa0a..a9c5b7ae338 100644
--- a/src/vnet/bonding/device.c
+++ b/src/vnet/bonding/device.c
@@ -111,14 +111,6 @@ bond_set_l2_mode_function (vnet_main_t * vnm,
return 0;
}
-static __clib_unused clib_error_t *
-bond_subif_add_del_function (vnet_main_t * vnm, u32 hw_if_index,
- struct vnet_sw_interface_t *st, int is_add)
-{
- /* Nothing for now */
- return 0;
-}
-
static clib_error_t *
bond_interface_admin_up_down (vnet_main_t * vnm, u32 hw_if_index, u32 flags)
{
@@ -633,7 +625,6 @@ VNET_DEVICE_CLASS (bond_dev_class) = {
.format_device_name = format_bond_interface_name,
.set_l2_mode_function = bond_set_l2_mode_function,
.admin_up_down_function = bond_interface_admin_up_down,
- .subif_add_del_function = bond_subif_add_del_function,
.format_tx_trace = format_bond_tx_trace,
.mac_addr_add_del_function = bond_add_del_mac_address,
};