diff options
author | David S. Miller <davem@sunset.davemloft.net> | 2007-03-09 02:06:39 -0500 |
---|---|---|
committer | David S. Miller <davem@sunset.davemloft.net> | 2007-04-26 04:55:17 -0400 |
commit | 0bba2dd823fd995ed805ae5cbd5a1c1381257a12 (patch) | |
tree | ab88f46bcec15478b1effd3afbefcd133f26a8c7 /arch/sparc64/kernel/of_device.c | |
parent | 3875c5c02d7112aa85f815d65d8add2e39ae9e34 (diff) |
[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/of_device.c')
-rw-r--r-- | arch/sparc64/kernel/of_device.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/arch/sparc64/kernel/of_device.c b/arch/sparc64/kernel/of_device.c index 8964eacb0048..f18eec6ad691 100644 --- a/arch/sparc64/kernel/of_device.c +++ b/arch/sparc64/kernel/of_device.c | |||
@@ -759,12 +759,6 @@ static unsigned int __init pci_irq_swizzle(struct device_node *dp, | |||
759 | * D: 2-bit slot number, derived from PCI device number as | 759 | * D: 2-bit slot number, derived from PCI device number as |
760 | * (dev - 1) for bus A, or (dev - 2) for bus B | 760 | * (dev - 1) for bus A, or (dev - 2) for bus B |
761 | * L: 2-bit line number | 761 | * L: 2-bit line number |
762 | * | ||
763 | * Actually, more "portable" way to calculate the funky | ||
764 | * slot number is to subtract pbm->pci_first_slot from the | ||
765 | * device number, and that's exactly what the pre-OF | ||
766 | * sparc64 code did, but we're building this stuff generically | ||
767 | * using the OBP tree, not in the PCI controller layer. | ||
768 | */ | 762 | */ |
769 | if (bus & 0x80) { | 763 | if (bus & 0x80) { |
770 | /* PBM-A */ | 764 | /* PBM-A */ |