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:
Stephen Hemminger 2014-06-13 18:06:24 -07:00 committed by Thomas Monjalon
parent f37cdfde46
commit 9d168c68df
2 changed files with 0 additions and 3 deletions

View File

@ -952,8 +952,6 @@ virtio_dev_start(struct rte_eth_dev *dev)
/* Tell the host we've known how to drive the device. */
vtpci_set_status(hw, VIRTIO_CONFIG_STATUS_DRIVER);
hw->adapter_stopped = 0;
virtio_dev_cq_start(dev);
/* Do final configuration before rx/tx engine starts */

View File

@ -179,7 +179,6 @@ struct virtio_hw {
uint8_t revision_id;
uint8_t use_msix;
uint8_t mac_addr[ETHER_ADDR_LEN];
int adapter_stopped;
};
/*