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:
parent
f1e9e414d8
commit
6a026a1ebf
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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)
|
||||
{
|
||||
|
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user