rte_virtio: remove vtpci_reinit_complete()

It's been only used in 1 place.

Change-Id: I3e933d3fb0816ea30f983fb3de69ce49238c3b72
Signed-off-by: Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>
Reviewed-on: https://review.gerrithub.io/385303
Reviewed-by: Daniel Verkamp <daniel.verkamp@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
This commit is contained in:
Dariusz Stojaczyk 2017-11-01 14:41:07 +01:00 committed by Jim Harris
parent f1e9e414d8
commit 6a026a1ebf
3 changed files with 1 additions and 9 deletions

View File

@ -280,7 +280,7 @@ virtio_dev_init(struct virtio_dev *dev, uint64_t req_features)
if (ret < 0)
return ret;
vtpci_reinit_complete(dev);
vtpci_set_status(dev, VIRTIO_CONFIG_S_DRIVER_OK);
return 0;
}

View File

@ -342,12 +342,6 @@ vtpci_reset(struct virtio_dev *dev)
vtpci_ops(dev)->get_status(dev);
}
void
vtpci_reinit_complete(struct virtio_dev *dev)
{
vtpci_set_status(dev, VIRTIO_CONFIG_S_DRIVER_OK);
}
void
vtpci_set_status(struct virtio_dev *dev, uint8_t status)
{

View File

@ -147,8 +147,6 @@ int vtpci_init(struct virtio_dev *vdev, const struct virtio_pci_ops *ops);
void vtpci_reset(struct virtio_dev *);
void vtpci_reinit_complete(struct virtio_dev *);
uint8_t vtpci_get_status(struct virtio_dev *);
void vtpci_set_status(struct virtio_dev *, uint8_t);