summaryrefslogtreecommitdiffstats
path: root/arch/sparc64/kernel/pci_psycho.c
diff options
context:
space:
mode:
authorDavid S. Miller <davem@sunset.davemloft.net>2007-03-09 08:06:39 +0100
committerDavid S. Miller <davem@sunset.davemloft.net>2007-04-26 10:55:17 +0200
commit0bba2dd823fd995ed805ae5cbd5a1c1381257a12 (patch)
treeab88f46bcec15478b1effd3afbefcd133f26a8c7 /arch/sparc64/kernel/pci_psycho.c
parent[SPARC64]: Kill pci_controller->pbms_same_domain (diff)
downloadlinux-0bba2dd823fd995ed805ae5cbd5a1c1381257a12.tar.xz
linux-0bba2dd823fd995ed805ae5cbd5a1c1381257a12.zip
[SPARC64]: Kill pbm->pci_first_slot.
Set but never used. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc64/kernel/pci_psycho.c')
-rw-r--r--arch/sparc64/kernel/pci_psycho.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/arch/sparc64/kernel/pci_psycho.c b/arch/sparc64/kernel/pci_psycho.c
index 0ab2aa0261ce..2e5d40a26dbd 100644
--- a/arch/sparc64/kernel/pci_psycho.c
+++ b/arch/sparc64/kernel/pci_psycho.c
@@ -1085,13 +1085,10 @@ static void psycho_pbm_init(struct pci_controller_info *p,
struct property *prop;
struct pci_pbm_info *pbm;
- if (is_pbm_a) {
+ if (is_pbm_a)
pbm = &p->pbm_A;
- pbm->pci_first_slot = 1;
- } else {
+ else
pbm = &p->pbm_B;
- pbm->pci_first_slot = 2;
- }
pbm->chip_type = PBM_CHIP_TYPE_PSYCHO;
pbm->chip_version = 0;