Code Review
/
vpp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
misc: move to new pool_foreach macros
[vpp.git]
/
src
/
vnet
/
devices
/
virtio
/
cli.c
diff --git
a/src/vnet/devices/virtio/cli.c
b/src/vnet/devices/virtio/cli.c
index
05f9eab
..
a783369
100644
(file)
--- a/
src/vnet/devices/virtio/cli.c
+++ b/
src/vnet/devices/virtio/cli.c
@@
-231,9
+231,8
@@
show_virtio_pci_fn (vlib_main_t * vm, unformat_input_t * input,
if (vec_len (hw_if_indices) == 0)
{
- pool_foreach (vif, vim->interfaces,
- vec_add1 (hw_if_indices, vif->hw_if_index);
- );
+ pool_foreach (vif, vim->interfaces)
+ vec_add1 (hw_if_indices, vif->hw_if_index);
}
else if (show_device_config)
{