]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - arch/powerpc/kernel/pci-common.c
powerpc: Remove `have_of' global variable
[linux-2.6-omap-h63xx.git] / arch / powerpc / kernel / pci-common.c
index 91c3f52e33a8f690eca68f78f5b723532a5cb94e..1a32db331a5c0aa576d04d717c998ae2b460f367 100644 (file)
@@ -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)