diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c index 6cdb3193d29..1b62b5fc2cd 100644 --- a/sys/dev/ciss/ciss.c +++ b/sys/dev/ciss/ciss.c @@ -3438,11 +3438,9 @@ ciss_name_device(struct ciss_softc *sc, int bus, int target) target, 0); if (status == CAM_REQ_CMP) { - mtx_lock(&sc->ciss_mtx); xpt_path_lock(path); periph = cam_periph_find(path, NULL); xpt_path_unlock(path); - mtx_unlock(&sc->ciss_mtx); xpt_free_path(path); if (periph != NULL) { sprintf(sc->ciss_logical[bus][target].cl_name, "%s%d",