diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2008-12-09 09:47:29 +0000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2008-12-16 15:52:57 +1100 |
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 91c3f52e33a..1a32db331a5 100644 --- a/arch/powerpc/kernel/pci-common.c +++ b/arch/powerpc/kernel/pci-common.c @@ -160,8 +160,6 @@ EXPORT_SYMBOL(pci_domain_nr); */ struct pci_controller* pci_find_hose_for_OF_device(struct device_node* node) { - if (!have_of) - return NULL; while(node) { struct pci_controller *hose, *tmp; list_for_each_entry_safe(hose, tmp, &hose_list, list_node) |