aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-05-08 03:19:02 -0400
committerDavid S. Miller <davem@sunset.davemloft.net>2007-05-08 19:41:44 -0400
commit28113a9941c8cb6ca90ab4a66876db84342a084b (patch)
tree369373800657dd415143731ca8070ef72525d8b2 /arch/sparc64/kernel/pci.c
parent6c108f1299754877bb5f73ccac5621eb603b97eb (diff)
[SPARC64]: Removal of trivial pci_controller_info uses.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci.c')
-rw-r--r--arch/sparc64/kernel/pci.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/sparc64/kernel/pci.c b/arch/sparc64/kernel/pci.c
index b8a48db3d82..ca290d6de64 100644
--- a/arch/sparc64/kernel/pci.c
+++ b/arch/sparc64/kernel/pci.c
@@ -921,10 +921,8 @@ static int __pci_mmap_make_offset_bus(struct pci_dev *pdev, struct vm_area_struc
921 enum pci_mmap_state mmap_state) 921 enum pci_mmap_state mmap_state)
922{ 922{
923 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller; 923 struct pci_pbm_info *pbm = pdev->dev.archdata.host_controller;
924 struct pci_controller_info *p;
925 unsigned long space_size, user_offset, user_size; 924 unsigned long space_size, user_offset, user_size;
926 925
927 p = pbm->parent;
928 if (mmap_state == pci_mmap_io) { 926 if (mmap_state == pci_mmap_io) {
929 space_size = (pbm->io_space.end - 927 space_size = (pbm->io_space.end -
930 pbm->io_space.start) + 1; 928 pbm->io_space.start) + 1;