diff options
author | 2021-03-10 08:22:25 +0000 | |
---|---|---|
committer | 2021-03-10 08:22:25 +0000 | |
commit | d0ac6fca86a4b5e180d607ae17223249021e624d (patch) | |
tree | ce4c9051e17282e4ed85020ea54095c7dd575dc6 /sys/kern/subr_hibernate.c | |
parent | sndiod: Style tweak: swap if/else code blocks in slot_new() (diff) | |
download | wireguard-openbsd-d0ac6fca86a4b5e180d607ae17223249021e624d.tar.xz wireguard-openbsd-d0ac6fca86a4b5e180d607ae17223249021e624d.zip |
sndiod: When a slot structure is recycled allocate new control
Trying to rename the program level control is not needed anymore.
When a slot is given to another program, the new ctl_{new,del}()
functions can be used to delete the control of the old program and
create a new one for the new program. Cleaner, simpler.
Diffstat (limited to 'sys/kern/subr_hibernate.c')
0 files changed, 0 insertions, 0 deletions