ut/nvme: clean up mutex and mutexattr
Change-Id: Ia0ef86c281af8abeb311b4f15512ab5762f99095 Signed-off-by: Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/382724 Tested-by: SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by: Jim Harris <james.r.harris@intel.com> Reviewed-by: Changpeng Liu <changpeng.liu@intel.com>
This commit is contained in:
parent
a0287fc0f7
commit
e5f69bb2ef
@ -188,6 +188,9 @@ test_spdk_nvme_probe(void)
|
||||
/* reset to pre-test values */
|
||||
MOCK_SET_P(spdk_memzone_lookup, void *, MOCK_PASS_THRU_P);
|
||||
MOCK_SET(check_trtype, bool, false);
|
||||
|
||||
pthread_mutex_destroy(&dummy.lock);
|
||||
pthread_mutexattr_destroy(&attr);
|
||||
}
|
||||
|
||||
static void
|
||||
|
Loading…
Reference in New Issue
Block a user