Commit 919419a8 authored by Petr Machata's avatar Petr Machata Committed by Paolo Abeni
Browse files

selftests: mlxsw: qos_max_descriptors: Use defer for test cleanup



Use the defer framework to schedule cleanups as soon as the command is
executed.

Signed-off-by: default avatarPetr Machata <petrm@nvidia.com>
Signed-off-by: default avatarPaolo Abeni <pabeni@redhat.com>
parent 424745af
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment