---
name: "BUS_CHILD_DELETED"
section: "9"
platform: "freebsd"
package: "base"
version: "16.0-CURRENT-20261027-61c70dc16a79"
release: "FreeBSD 16.0-CURRENT (2026-10-27)"
platforms: ["freebsd"]
url: "https://new.carta.tech/BUS_CHILD_DELETED"
---

# BUS\_CHILD\_DELETED(9)

notify a bus device that a child is being deleted

## NAME

**BUS\_CHILD\_DELETED** – notify a bus device that a child is being deleted

## SYNOPSIS

**#include \<sys/param.h\>**

**#include \<sys/bus.h\>**

*void*\

**BUS\_CHILD\_DELETED**(*device\_t dev*, *device\_t child*);

## DESCRIPTION

The **BUS\_CHILD\_DELETED**() method is invoked by the new-bus framework when a device is deleted. A bus driver can provide an implementation of this method to release bus-specific resources associated with a device such as instance variables.

## SEE ALSO

[BUS\_ADD\_CHILD(9)](/BUS_ADD_CHILD/9.md), [device(9)](/device/9.md)

## HISTORY

The **BUS\_CHILD\_DELETED**() method first appeared in FreeBSD 10.0.
