MCPcopy Create free account
hub / github.com/F-Stack/f-stack / device_sysctl_fini

Function device_sysctl_fini

freebsd/kern/subr_bus.c:347–354  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347static void
348device_sysctl_fini(device_t dev)
349{
350 if (dev->sysctl_tree == NULL)
351 return;
352 sysctl_ctx_free(&dev->sysctl_ctx);
353 dev->sysctl_tree = NULL;
354}
355
356/*
357 * /dev/devctl implementation

Callers 2

device_attachFunction · 0.85
device_detachFunction · 0.85

Calls 1

sysctl_ctx_freeFunction · 0.85

Tested by

no test coverage detected