summaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/af_packet/af_packet.c
diff options
context:
space:
mode:
authorMohsin Kazmi <sykazmi@cisco.com>2022-03-10 17:44:06 +0100
committerMatthew Smith <mgsmith@netgate.com>2022-03-10 19:44:24 +0000
commit2d194a02a60361020e3b8096958a6c963d0c2807 (patch)
treedc83cd93b027fa3a6f97141fd61c45e27243e5ba /src/vnet/devices/af_packet/af_packet.c
parentab5a124b1dca6080c4a3a8c241ec9b8d12c24fb9 (diff)
devices: remove the unused code from af_packet
Type: refactor Change-Id: If180816303909b92c9aa4ff9fd70dc7938a6cfbe Signed-off-by: Mohsin Kazmi <sykazmi@cisco.com>
Diffstat (limited to 'src/vnet/devices/af_packet/af_packet.c')
-rw-r--r--src/vnet/devices/af_packet/af_packet.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/vnet/devices/af_packet/af_packet.c b/src/vnet/devices/af_packet/af_packet.c
index 208537996e3..bc9caac82f2 100644
--- a/src/vnet/devices/af_packet/af_packet.c
+++ b/src/vnet/devices/af_packet/af_packet.c
@@ -105,9 +105,6 @@ af_packet_fd_read_ready (clib_file_t * uf)
u32 idx = uf->private_data;
af_packet_if_t *apif = pool_elt_at_index (apm->interfaces, idx);
- apm->pending_input_bitmap =
- clib_bitmap_set (apm->pending_input_bitmap, idx, 1);
-
/* Schedule the rx node */
vnet_hw_if_rx_queue_set_int_pending (vnm, apif->queue_index);
return 0;