X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=drivers%2Fide%2Fide-probe.c;h=c1128ae5cd2f98319ee889b74fefd7e69916edd4;hb=a1cf96efbabac2f8af6f75286ffcefd40b0a466c;hp=94daf40ae323300b5bc68fdd58697dbd9916453a;hpb=5d2a22079c825669d91a3a200332f1053b4b61b0;p=powerpc.git diff --git a/drivers/ide/ide-probe.c b/drivers/ide/ide-probe.c index 94daf40ae3..c1128ae5cd 100644 --- a/drivers/ide/ide-probe.c +++ b/drivers/ide/ide-probe.c @@ -960,15 +960,6 @@ static void save_match(ide_hwif_t *hwif, ide_hwif_t *new, ide_hwif_t **match) } #endif /* MAX_HWIFS > 1 */ -static inline int hwif_to_node(ide_hwif_t *hwif) -{ - if (hwif->pci_dev) - return pcibus_to_node(hwif->pci_dev->bus); - else - /* Add ways to determine the node of other busses here */ - return -1; -} - /* * init request queue */