summaryrefslogtreecommitdiffstats
path: root/sys/alpha
diff options
context:
space:
mode:
Diffstat (limited to 'sys/alpha')
-rw-r--r--sys/alpha/pci/pcibus.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/alpha/pci/pcibus.c b/sys/alpha/pci/pcibus.c
index c4013fc..61c6bd7 100644
--- a/sys/alpha/pci/pcibus.c
+++ b/sys/alpha/pci/pcibus.c
@@ -96,12 +96,7 @@ struct resource *
alpha_platform_alloc_ide_intr(int chan)
{
int irqs[2] = { 14, 15 };
- struct resource *rv;
-
- rv = isa_alloc_intr(0, 0, irqs[chan]);
- if (rv != NULL)
- rman_set_rid(rv, *rid);
- return (rv);
+ return (isa_alloc_intr(0, 0, irqs[chan]));
}
int
OpenPOWER on IntegriCloud