devices: remove unused code
Type: refactor
@@ -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)
