On Thu, Aug 22, 2024 at 03:49:41PM +0200, Petr Machata wrote:
Instead of having a suite of dedicated cleanup functions, use the defer framework to schedule cleanups right as their setup functions are run.
This makes a dedicated cleanup() moot, instead fall back to the lib.sh-provided one, which invokes the necessary defer cleanups as well.
Signed-off-by: Petr Machata petrm@nvidia.com
Reviewed-by: Ido Schimmel idosch@nvidia.com