Author: mav Date: Mon Jan 19 15:52:32 2015 New Revision: 277385 URL: https://svnweb.freebsd.org/changeset/base/277385
Log: Remove extra mtx_unlock(). Submitted by: Dmitry Luhtionov <dmitryluhtio...@gmail.com> MFC after: 1 week Modified: head/sys/cam/cam_xpt.c Modified: head/sys/cam/cam_xpt.c ============================================================================== --- head/sys/cam/cam_xpt.c Mon Jan 19 15:35:19 2015 (r277384) +++ head/sys/cam/cam_xpt.c Mon Jan 19 15:52:32 2015 (r277385) @@ -893,7 +893,6 @@ xpt_init(void *dummy) if ((status = xpt_create_path(&path, NULL, CAM_XPT_PATH_ID, CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD)) != CAM_REQ_CMP) { - mtx_unlock(&xsoftc.xpt_lock); printf("xpt_init: xpt_create_path failed with status %#x," " failing attach\n", status); return (EINVAL); _______________________________________________ svn-src-head@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"