svn commit: r188345 - head/sys/cam

Edward Tomasz Napierala trasz at FreeBSD.org
Sun Feb 8 14:08:49 PST 2009


Author: trasz
Date: Sun Feb  8 22:08:48 2009
New Revision: 188345
URL: http://svn.freebsd.org/changeset/base/188345

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

Modified:
  head/sys/cam/cam_xpt.c

Modified: head/sys/cam/cam_xpt.c
==============================================================================
--- head/sys/cam/cam_xpt.c	Sun Feb  8 22:04:17 2009	(r188344)
+++ head/sys/cam/cam_xpt.c	Sun Feb  8 22:08:48 2009	(r188345)
@@ -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
 


More information about the svn-src-head mailing list