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:
Daniel Verkamp 2017-10-16 13:48:56 -07:00 committed by Jim Harris
parent a0287fc0f7
commit e5f69bb2ef

View File

@ -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