diff options
author | Ole Troan <ot@cisco.com> | 2020-09-15 11:37:16 +0200 |
---|---|---|
committer | Andrew Yourtchenko <ayourtch@gmail.com> | 2020-09-16 09:18:54 +0000 |
commit | f916414b383afd37ec78509ee613df8878160406 (patch) | |
tree | a9088735479cbdaf43c90816c95404a995423747 /src/vnet/devices/virtio | |
parent | 62bd50de97cd90cc09559a09fe46f98211279a1e (diff) |
api: clean up use of deprecated flag
The syntax of the deprecated flag has evolved.
Clean up usage to be "option deprecated;".
Type: fix
Signed-off-by: Ole Troan <ot@cisco.com>
Change-Id: If2b639f275eb8db58b36c457f9245fe35a4d8cb1
Diffstat (limited to 'src/vnet/devices/virtio')
-rw-r--r-- | src/vnet/devices/virtio/virtio.api | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vnet/devices/virtio/virtio.api b/src/vnet/devices/virtio/virtio.api index 143d25b73ab..3c8aed2e159 100644 --- a/src/vnet/devices/virtio/virtio.api +++ b/src/vnet/devices/virtio/virtio.api @@ -32,7 +32,7 @@ import "vlib/pci/pci_types.api"; */ define virtio_pci_create { - option deprecated="21.01"; + option deprecated; u32 client_index; u32 context; vl_api_pci_address_t pci_addr; @@ -50,7 +50,7 @@ define virtio_pci_create */ define virtio_pci_create_reply { - option deprecated="21.01"; + option deprecated; u32 context; i32 retval; vl_api_interface_index_t sw_if_index; |