linux-mips
[Top] [All Lists]

[PATCH] mips/PCI: remove titan_ht_pcibios_fixup_bus() code that does

To: linux-pci@vger.kernel.org
Subject: [PATCH] mips/PCI: remove titan_ht_pcibios_fixup_bus() code that does nothing
From: Bjorn Helgaas <bhelgaas@google.com>
Date: Thu, 23 Feb 2012 12:44:52 -0700
Authentication-results: mr.google.com; spf=pass (google.com: domain of bhelgaas@google.com designates 10.236.145.135 as permitted sender) smtp.mail=bhelgaas@google.com; dkim=pass header.i=bhelgaas@google.com
Cc: linux-mips@linux-mips.org, Ralf Baechle <ralf@linux-mips.org>
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=gamma; h=subject:to:from:cc:date:message-id:user-agent:mime-version :content-type:content-transfer-encoding; bh=3v+Vq7jR52YAmjuiL3SApGgl5idh2KVHimKhDkvo7wk=; b=mpsIiIMdoScfD7MQit2gTQY4LDVQ9yGis/iW/cI3unwBOJ3+/fCErmH7KOOuTAdcEO qPpa7cPG6zkDDyDm8fF0iQzPG23u49M+kaoN1cuQBnv0R25ksCn3GKT3XB2sQWz17SW8 3l0QAWaVqqLwjYlISc1oxOS/g3A3w89+bcgpY=
Sender: linux-mips-bounce@linux-mips.org
User-agent: StGit/0.15
This list traversal seems pointless.

CC: Ralf Baechle <ralf@linux-mips.org>
CC: linux-mips@linux-mips.org
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 arch/mips/pmc-sierra/yosemite/ht-irq.c |   10 ----------
 1 files changed, 0 insertions(+), 10 deletions(-)

diff --git a/arch/mips/pmc-sierra/yosemite/ht-irq.c 
b/arch/mips/pmc-sierra/yosemite/ht-irq.c
index 86b98e9..62ead66 100644
--- a/arch/mips/pmc-sierra/yosemite/ht-irq.c
+++ b/arch/mips/pmc-sierra/yosemite/ht-irq.c
@@ -35,16 +35,6 @@
  */
 void __init titan_ht_pcibios_fixup_bus(struct pci_bus *bus)
 {
-       struct pci_bus *current_bus = bus;
-       struct pci_dev *devices;
-       struct list_head *devices_link;
-
-       list_for_each(devices_link, &(current_bus->devices)) {
-               devices = pci_dev_b(devices_link);
-               if (devices == NULL)
-                       continue;
-       }
-
        /*
         * PLX and SPKT related changes go here
         */


<Prev in Thread] Current Thread [Next in Thread>
  • [PATCH] mips/PCI: remove titan_ht_pcibios_fixup_bus() code that does nothing, Bjorn Helgaas <=