Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Feb 2009 11:11:38 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r189161 - in stable/7/sys: . cam contrib/pf dev/ath/ath_hal dev/cxgb
Message-ID:  <200902281111.n1SBBcQ6007316@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: trasz
Date: Sat Feb 28 11:11:38 2009
New Revision: 189161
URL: http://svn.freebsd.org/changeset/base/189161

Log:
  MFC r188345:
  
  Remove an overzealous check.
  
  Submitted by:	das
  Reviewed by:	scottl
  Approved by:	rwatson (mentor, implicit)
  Sponsored by:	FreeBSD Foundation

Modified:
  stable/7/sys/   (props changed)
  stable/7/sys/cam/cam_xpt.c
  stable/7/sys/contrib/pf/   (props changed)
  stable/7/sys/dev/ath/ath_hal/   (props changed)
  stable/7/sys/dev/cxgb/   (props changed)

Modified: stable/7/sys/cam/cam_xpt.c
==============================================================================
--- stable/7/sys/cam/cam_xpt.c	Sat Feb 28 11:09:27 2009	(r189160)
+++ stable/7/sys/cam/cam_xpt.c	Sat Feb 28 11:11:38 2009	(r189161)
@@ -4178,7 +4178,7 @@ xpt_path_string(struct cam_path *path, c
 	struct sbuf sb;
 
 #ifdef INVARIANTS
-	if (path != NULL && path->bus != NULL && path->bus->sim != NULL)
+	if (path != NULL && path->bus != NULL)
 		mtx_assert(path->bus->sim->mtx, MA_OWNED);
 #endif
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902281111.n1SBBcQ6007316>