summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2020-11-12 11:20:27 +0100
committerDamjan Marion <dmarion@me.com>2020-11-12 14:37:56 +0000
commit2db9273155a328b814bf16b65dfedc5de20094c2 (patch)
tree2af7b00a82bbbf45496574a23c9ae82d44d0f202 /src/vnet/devices
parent81dac0670beac0d4e0be8afa46e67f0c40a3f14f (diff)
devices: remove unused code
Type: refactor Change-Id: I3f561818bc7c221f676477a52c7c7781624c185a Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/devices')
-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)