net/virtio: drop duplicated reset method
authorTiwei Bie <tiwei.bie@intel.com>
Thu, 25 Oct 2018 09:46:58 +0000 (17:46 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 5 Nov 2018 14:01:25 +0000 (15:01 +0100)
commitf79052fc8e8151d8d6374be164c20374a78adba4
treebdc5c17ce679b543607f107d9c0e850ec926b295
parentbc91e8db12cdc214184ae2114a2ccdd6e273ee3a
net/virtio: drop duplicated reset method

Drop the duplicated reset() method in virtio_pci_ops. Currently
vtpci_reset() is implemented on set_status() and get_status()
directly. The reset() method in virtio_pci_ops isn't used and
its implementation in the legacy device isn't right.

Signed-off-by: Tiwei Bie <tiwei.bie@intel.com>
Reviewed-by: Maxime Coquelin <maxime.coquelin@redhat.com>
drivers/net/virtio/virtio_pci.c
drivers/net/virtio/virtio_pci.h
drivers/net/virtio/virtio_user_ethdev.c