summaryrefslogtreecommitdiffstats
path: root/hw/rdma/vmw
diff options
context:
space:
mode:
authorYuval Shaia2019-03-11 11:29:13 +0100
committerMarcel Apfelbaum2019-03-16 14:52:44 +0100
commita2f1dc6091e801514f955af255af89d440e762fc (patch)
treefcded67f69fa570fd37e9f4b7445a216e5df9413 /hw/rdma/vmw
parenthw/pvrdma: Delete unneeded function argument (diff)
downloadqemu-a2f1dc6091e801514f955af255af89d440e762fc.tar.gz
qemu-a2f1dc6091e801514f955af255af89d440e762fc.tar.xz
qemu-a2f1dc6091e801514f955af255af89d440e762fc.zip
hw/pvrdma: Delete pvrdma_exit function
This hook is not called and was implemented by mistake. Signed-off-by: Yuval Shaia <yuval.shaia@oracle.com> Reviewed-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com> Message-Id: <1552300155-25216-10-git-send-email-yuval.shaia@oracle.com> Reviewed-by: Kamal Heib <kamalheib1@gmail.com> Signed-off-by: Marcel Apfelbaum <marcel.apfelbaum@gmail.com>
Diffstat (limited to 'hw/rdma/vmw')
-rw-r--r--hw/rdma/vmw/pvrdma_main.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/hw/rdma/vmw/pvrdma_main.c b/hw/rdma/vmw/pvrdma_main.c
index 04845f46f7..a4afceda14 100644
--- a/hw/rdma/vmw/pvrdma_main.c
+++ b/hw/rdma/vmw/pvrdma_main.c
@@ -654,11 +654,6 @@ out:
}
}
-static void pvrdma_exit(PCIDevice *pdev)
-{
- pvrdma_fini(pdev);
-}
-
static void pvrdma_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);
@@ -666,7 +661,6 @@ static void pvrdma_class_init(ObjectClass *klass, void *data)
RdmaProviderClass *ir = INTERFACE_RDMA_PROVIDER_CLASS(klass);
k->realize = pvrdma_realize;
- k->exit = pvrdma_exit;
k->vendor_id = PCI_VENDOR_ID_VMWARE;
k->device_id = PCI_DEVICE_ID_VMWARE_PVRDMA;
k->revision = 0x00;