Skip to content

Commit

Permalink
sata_inic162x: kill double region requests
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Mar 19, 2007
1 parent aeb9362 commit e1251d0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions drivers/ata/sata_inic162x.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit e1251d0

Please sign in to comment.