aboutsummaryrefslogtreecommitdiff
path: root/sys/alpha
diff options
context:
space:
mode:
authorMarcel Moolenaar <marcel@FreeBSD.org>2006-04-22 19:04:21 +0000
committerMarcel Moolenaar <marcel@FreeBSD.org>2006-04-22 19:04:21 +0000
commit4b1ead982eda4d5cab5a484b23f41d3721da976c (patch)
treebb479f0f579aabf19784859281468b4ca0e8c5fb /sys/alpha
parentbabd660805869da923b5981c5e7a85f1e805ced7 (diff)
Notes
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 c4013fc941b31..61c6bd7713f00 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