bochs: little cleanup
authorGerd Hoffmann <kraxel@redhat.com>
Wed, 19 Nov 2014 11:28:09 +0000 (12:28 +0100)
committerDave Airlie <airlied@redhat.com>
Thu, 20 Nov 2014 01:26:37 +0000 (11:26 +1000)
Drop some leftover, commented code.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
drivers/gpu/drm/bochs/bochs_hw.c

index dbe619e6aab4e28e2c5d58b8ee87f1bb91b7eb5c..e8b1dacc49117be7b2dbe3addd3af5223d16c575 100644 (file)
@@ -54,8 +54,7 @@ int bochs_hw_init(struct drm_device *dev, uint32_t flags)
        unsigned long addr, size, mem, ioaddr, iosize;
        u16 id;
 
-       if (/* (ent->driver_data == BOCHS_QEMU_STDVGA) && */
-           (pdev->resource[2].flags & IORESOURCE_MEM)) {
+       if (pdev->resource[2].flags & IORESOURCE_MEM) {
                /* mmio bar with vga and bochs registers present */
                if (pci_request_region(pdev, 2, "bochs-drm") != 0) {
                        DRM_ERROR("Cannot request mmio region\n");