diff options
author | Brett Creeley <[email protected]> | 2024-02-02 11:59:11 -0800 |
---|---|---|
committer | Paolo Abeni <[email protected]> | 2024-02-06 13:26:54 +0100 |
commit | 792d36ccc163ac4aa606b3f5ec31cfd2c3a365de (patch) | |
tree | d7d9455664ca3a406fe84738ad7c9f99d5c8dd7c /lib/string_helpers.c | |
parent | 247c4ed03321cd1c971195b8127764d0826664a7 (diff) |
pds_core: Clean up init/uninit flows to be more readable
The setup and teardown flows are somewhat hard to follow regarding
pdsc_core_init()/pdsc_dev_init() and their corresponding teardown
flows being in pdsc_teardown(). Improve the readability by adding
new pdsc_core_uninit()/pdsc_dev_unint() functions that mirror their
init counterparts. Also, move the notify and admin qcq allocations
into pdsc_core_init(), so they can be freed in pdsc_core_uninit().
Signed-off-by: Brett Creeley <[email protected]>
Reviewed-by: Shannon Nelson <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions