aboutsummaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2025-01-02 18:24:13 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2025-01-02 18:24:13 +0000
commit20f932af2973afc7624ac40a843b85b48a3947c7 (patch)
tree5a4ab3c72a4d6f54be88173591dbc4616677d430 /sys/dev
parent919f911ea4523276b7863e32e89943f270d3a76b (diff)
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/bhnd/bcma/bcma.c1
-rw-r--r--sys/dev/bhnd/siba/siba.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/bhnd/bcma/bcma.c b/sys/dev/bhnd/bcma/bcma.c
index 9ce4bf04a1c5..a83873b321c2 100644
--- a/sys/dev/bhnd/bcma/bcma.c
+++ b/sys/dev/bhnd/bcma/bcma.c
@@ -81,7 +81,6 @@ bcma_attach(device_t dev)
/* Enumerate children */
if ((error = bcma_add_children(dev))) {
- device_delete_children(dev);
return (error);
}
diff --git a/sys/dev/bhnd/siba/siba.c b/sys/dev/bhnd/siba/siba.c
index ec9f22ff22af..a8e83f843506 100644
--- a/sys/dev/bhnd/siba/siba.c
+++ b/sys/dev/bhnd/siba/siba.c
@@ -85,7 +85,6 @@ siba_attach(device_t dev)
/* Enumerate children */
if ((error = siba_add_children(dev))) {
- device_delete_children(dev);
SIBA_LOCK_DESTROY(sc);
return (error);
}