diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-12-09 04:47:29 -0500 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-15 23:52:57 -0500 |
commit | 6b82b3e4b54b2fce2ca11976c535012b836b2016 (patch) | |
tree | f7d74baec148a5f8d5227c57ef8250481bdb8949 /arch/powerpc/kernel/pci-common.c | |
parent | 0efbb57e06d881a39a7f261e5c33558aedec0f79 (diff) |
powerpc: Remove `have_of' global variable
The `have_of' variable is a relic from the arch/ppc time, it isn't
useful nowadays.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/pci-common.c')
-rw-r--r-- | arch/powerpc/kernel/pci-common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/powerpc/kernel/pci-common.c b/arch/powerpc/kernel/pci-common.c index 91c3f52e33a8..1a32db331a5c 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c | |||
@@ -160,8 +160,6 @@ EXPORT_SYMBOL(pci_domain_nr); | |||
160 | */ | 160 | */ |
161 | struct pci_controller* pci_find_hose_for_OF_device(struct device_node* node) | 161 | struct pci_controller* pci_find_hose_for_OF_device(struct device_node* node) |
162 | { | 162 | { |
163 | if (!have_of) | ||
164 | return NULL; | ||
165 | while(node) { | 163 | while(node) { |
166 | struct pci_controller *hose, *tmp; | 164 | struct pci_controller *hose, *tmp; |
167 | list_for_each_entry_safe(hose, tmp, &hose_list, list_node) | 165 | list_for_each_entry_safe(hose, tmp, &hose_list, list_node) |