sata_inic162x: kill double region requests
authorTejun Heo <htejun@gmail.com>
Thu, 15 Mar 2007 16:59:42 +0000 (01:59 +0900)
committerJeff Garzik <jeff@garzik.org>
Mon, 19 Mar 2007 15:56:59 +0000 (11:56 -0400)
Regions are requested twice during initialization causing the second
one to fail.  This is regression introduced during iomap conversion.

Signed-off-by: Tejun Heo <htejun@gmail.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/ata/sata_inic162x.c

index 3193a60..1e21688 100644 (file)
@@ -672,10 +672,6 @@ static int inic_init_one(struct pci_dev *pdev, const struct pci_device_id *ent)
        if (rc)
                return rc;
 
-       rc = pci_request_regions(pdev, DRV_NAME);
-       if (rc)
-               return rc;
-
        rc = pcim_iomap_regions(pdev, 0x3f, DRV_NAME);
        if (rc)
                return rc;