Author: mav
Date: Mon Jan 26 16:30:17 2015
New Revision: 277762
URL: https://svnweb.freebsd.org/changeset/base/277762

Log:
  MFC r277385: Remove extra mtx_unlock().
  
  Submitted by: Dmitry Luhtionov <dmitryluhtio...@gmail.com>

Modified:
  stable/10/sys/cam/cam_xpt.c
Directory Properties:
  stable/10/   (props changed)

Modified: stable/10/sys/cam/cam_xpt.c
==============================================================================
--- stable/10/sys/cam/cam_xpt.c Mon Jan 26 16:29:14 2015        (r277761)
+++ stable/10/sys/cam/cam_xpt.c Mon Jan 26 16:30:17 2015        (r277762)
@@ -897,7 +897,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-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to