diff options
author | Jeff Garzik <jeff@garzik.org> | 2008-02-15 21:35:26 -0500 |
---|---|---|
committer | James Bottomley <James.Bottomley@HansenPartnership.com> | 2008-04-07 12:15:36 -0500 |
commit | 4c9c8d782c8dddc5e97d33210e8a993cec6bc168 (patch) | |
tree | 6b8c8d5848da51f9f7d16fba7f61098c20088cc0 /drivers/scsi/gdth.h | |
parent | 4cac04dd63fa3b202ee313ed1afbbd135ab887ee (diff) | |
download | linux-4c9c8d782c8dddc5e97d33210e8a993cec6bc168.tar.gz linux-4c9c8d782c8dddc5e97d33210e8a993cec6bc168.tar.bz2 linux-4c9c8d782c8dddc5e97d33210e8a993cec6bc168.zip |
[SCSI] gdth: PCI probe cleanups, prep for PCI hotplug API conversion
- Reduce uses of gdth_pci_str::pdev, preferring a local variable
(or function arg) 'pdev' instead.
- Reduce uses of gdth_pcistr array, preferring local variable
(or function arg) 'pcistr' instead.
- Eliminate lone use of gdth_pci_str::irq, using equivalent
pdev->irq instead
- Eliminate assign-only gdth_pci_str::io_mm
Note: If the indentation seems weird, that's because a line was
converted from spaces to tabs, when it was modified.
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/gdth.h')
-rw-r--r-- | drivers/scsi/gdth.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/scsi/gdth.h b/drivers/scsi/gdth.h index 26e4e92515e0..ca92476727cf 100644 --- a/drivers/scsi/gdth.h +++ b/drivers/scsi/gdth.h @@ -839,8 +839,6 @@ typedef struct { struct pci_dev *pdev; ulong dpmem; /* DPRAM address */ ulong io; /* IO address */ - ulong io_mm; /* IO address mem. mapped */ - unchar irq; /* IRQ */ } gdth_pci_str; |