aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet
diff options
context:
space:
mode:
Diffstat (limited to 'src/vnet')
-rw-r--r--src/vnet/devices/devices.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vnet/devices/devices.h b/src/vnet/devices/devices.h
index 4e7f30db4d6..917c872b3b8 100644
--- a/src/vnet/devices/devices.h
+++ b/src/vnet/devices/devices.h
@@ -114,13 +114,6 @@ vnet_device_increment_rx_packets (u32 thread_index, u64 count)
pwd->aggregate_rx_packets += count;
}
-static_always_inline vnet_device_and_queue_t *
-vnet_get_device_and_queue (vlib_main_t * vm, vlib_node_runtime_t * node)
-{
- vnet_device_input_runtime_t *rt = (void *) node->runtime_data;
- return rt->devices_and_queues;
-}
-
static_always_inline uword
vnet_get_device_input_thread_index (vnet_main_t * vnm, u32 hw_if_index,
u16 queue_id)