Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Feb 2009 22:08:48 +0000 (UTC)
From:      Edward Tomasz Napierala <trasz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r188345 - head/sys/cam
Message-ID:  <200902082208.n18M8m8B036217@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



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