aboutsummaryrefslogtreecommitdiffstats
path: root/src/vnet/devices/virtio/cli.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2019-11-08 17:41:06 +0100
committerFlorin Coras <florin.coras@gmail.com>2019-11-14 17:54:51 +0000
commitf41244f423a44c6d295895b011eec4bbeef08a8d (patch)
tree6e88a44f43d1970bc1f11b5c5cbbb9d8f6ece376 /src/vnet/devices/virtio/cli.c
parentaa27dcb84cb312277370b77370a69b2a3596c4c5 (diff)
virtio: refactor virtio-pci logging
Type: refactor Change-Id: I34306c1206b2bf5f521be6c6b78074ccf9259a08 Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vnet/devices/virtio/cli.c')
-rw-r--r--src/vnet/devices/virtio/cli.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/vnet/devices/virtio/cli.c b/src/vnet/devices/virtio/cli.c
index dbc2ad2c345..7291f17e645 100644
--- a/src/vnet/devices/virtio/cli.c
+++ b/src/vnet/devices/virtio/cli.c
@@ -186,8 +186,6 @@ VLIB_CLI_COMMAND (show_virtio_pci_command, static) = {
clib_error_t *
virtio_pci_cli_init (vlib_main_t * vm)
{
- virtio_main_t *vim = &virtio_main;
- vim->log_default = vlib_log_register_class ("virtio-pci", 0);
return 0;
}