Remove an overzealous check.
Submitted by: das Reviewed by: scottl Approved by: rwatson (mentor, implicit) Sponsored by: FreeBSD Foundation
This commit is contained in:
parent
f64d4bd0f7
commit
a8d4700dbb
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=188345
@ -4178,7 +4178,7 @@ xpt_path_string(struct cam_path *path, char *str, size_t str_len)
|
||||
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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user