virtio: remove unused adapter_stopped field
This flag was set to zero (but was already zero) and never used. Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Alan Carew <alan.carew@intel.com>
This commit is contained in:
parent
f37cdfde46
commit
9d168c68df
@ -952,8 +952,6 @@ virtio_dev_start(struct rte_eth_dev *dev)
|
|||||||
/* Tell the host we've known how to drive the device. */
|
/* Tell the host we've known how to drive the device. */
|
||||||
vtpci_set_status(hw, VIRTIO_CONFIG_STATUS_DRIVER);
|
vtpci_set_status(hw, VIRTIO_CONFIG_STATUS_DRIVER);
|
||||||
|
|
||||||
hw->adapter_stopped = 0;
|
|
||||||
|
|
||||||
virtio_dev_cq_start(dev);
|
virtio_dev_cq_start(dev);
|
||||||
|
|
||||||
/* Do final configuration before rx/tx engine starts */
|
/* Do final configuration before rx/tx engine starts */
|
||||||
|
@ -179,7 +179,6 @@ struct virtio_hw {
|
|||||||
uint8_t revision_id;
|
uint8_t revision_id;
|
||||||
uint8_t use_msix;
|
uint8_t use_msix;
|
||||||
uint8_t mac_addr[ETHER_ADDR_LEN];
|
uint8_t mac_addr[ETHER_ADDR_LEN];
|
||||||
int adapter_stopped;
|
|
||||||
};
|
};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user