From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stephen Hemminger Subject: [PATCH 7/8] virtio: remove unused adapter_stopped field Date: Fri, 13 Jun 2014 18:06:24 -0700 Message-ID: <20140614010920.311402402@networkplumber.org> References: <20140614010617.902738763@networkplumber.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 To: dev-VfR2kkLFssw@public.gmane.org Return-path: Content-Disposition: inline; filename=virtio-no-adapter_stopped.patch List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" This flag was set to zero (but was already zero) and never used. Signed-off-by: Stephen Hemminger --- a/lib/librte_pmd_virtio/virtio_ethdev.c 2014-06-13 18:01:14.152978473 -0700 +++ b/lib/librte_pmd_virtio/virtio_ethdev.c 2014-06-13 18:01:14.144978461 -0700 @@ -927,8 +927,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 */ --- a/lib/librte_pmd_virtio/virtio_pci.h 2014-06-13 18:01:14.152978473 -0700 +++ b/lib/librte_pmd_virtio/virtio_pci.h 2014-06-13 18:01:40.537011579 -0700 @@ -178,7 +178,6 @@ struct virtio_hw { uint16_t subsystem_vendor_id; uint8_t revision_id; uint8_t mac_addr[ETHER_ADDR_LEN]; - int adapter_stopped; }; /*