summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/dev/fdt/simplebus.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/sys/dev/fdt/simplebus.c b/sys/dev/fdt/simplebus.c
index fec24ac..b4e7bfb 100644
--- a/sys/dev/fdt/simplebus.c
+++ b/sys/dev/fdt/simplebus.c
@@ -286,9 +286,6 @@ simplebus_setup_intr(device_t bus, device_t child, struct resource *res,
enum intr_polarity pol;
int error, rid;
- if (device_get_parent(child) != bus)
- return (ECHILD);
-
di = device_get_ivars(child);
if (di == NULL)
return (ENXIO);
OpenPOWER on IntegriCloud