From: Zenghui Yu Date: Mon, 21 Sep 2020 04:51:15 +0000 (+0800) Subject: vfio/pci: Remove redundant declaration of vfio_pci_driver X-Git-Tag: v5.10-rc1~53^2~6^3 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=eac7cc21c4e49ab7dfeef22e29abdee8432face9;p=thirdparty%2Fkernel%2Flinux.git vfio/pci: Remove redundant declaration of vfio_pci_driver It was added by commit 137e5531351d ("vfio/pci: Add sriov_configure support") but duplicates a forward declaration earlier in the file. Remove it. Signed-off-by: Zenghui Yu Reviewed-by: Cornelia Huck Signed-off-by: Alex Williamson --- diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c index 1ab1f5cda4ac2..da68e2f866225 100644 --- a/drivers/vfio/pci/vfio_pci.c +++ b/drivers/vfio/pci/vfio_pci.c @@ -1862,7 +1862,6 @@ static const struct vfio_device_ops vfio_pci_ops = { static int vfio_pci_reflck_attach(struct vfio_pci_device *vdev); static void vfio_pci_reflck_put(struct vfio_pci_reflck *reflck); -static struct pci_driver vfio_pci_driver; static int vfio_pci_bus_notifier(struct notifier_block *nb, unsigned long action, void *data)