summaryrefslogtreecommitdiffstats
path: root/drivers/vfio
diff options
context:
space:
mode:
authorZhou Wang <wangzhou1@hisilicon.com>2021-03-30 09:54:21 -0600
committerAlex Williamson <alex.williamson@redhat.com>2021-04-06 11:53:50 -0600
commit36f0be5a30bbe6f1783db459449f2d88c5cd1e34 (patch)
treef0ccef496334f779f53ec894ddc3e16f567d2d5d /drivers/vfio
parentfbc9d37161b7d7e0e5f838445bbeff721dc4fc8d (diff)
downloadlinux-36f0be5a30bbe6f1783db459449f2d88c5cd1e34.tar.bz2
vfio/pci: Remove an unnecessary blank line in vfio_pci_enable
This blank line is unnecessary, so remove it. Signed-off-by: Zhou Wang <wangzhou1@hisilicon.com> Message-Id: <1615808073-178604-1-git-send-email-wangzhou1@hisilicon.com> Signed-off-by: Alex Williamson <alex.williamson@redhat.com>
Diffstat (limited to 'drivers/vfio')
-rw-r--r--drivers/vfio/pci/vfio_pci.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/vfio/pci/vfio_pci.c b/drivers/vfio/pci/vfio_pci.c
index d2ab8b5bc8a8..37a4a4824e30 100644
--- a/drivers/vfio/pci/vfio_pci.c
+++ b/drivers/vfio/pci/vfio_pci.c
@@ -378,7 +378,6 @@ static int vfio_pci_enable(struct vfio_pci_device *vdev)
if (!vfio_vga_disabled() && vfio_pci_is_vga(pdev))
vdev->has_vga = true;
-
if (vfio_pci_is_vga(pdev) &&
pdev->vendor == PCI_VENDOR_ID_INTEL &&
IS_ENABLED(CONFIG_VFIO_PCI_IGD)) {