diff options
author | trasz <trasz@FreeBSD.org> | 2009-02-08 22:08:48 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2009-02-08 22:08:48 +0000 |
commit | c09da8d6d9b17bb375fdba22adcc311ce2c10e86 (patch) | |
tree | e5777948d065a9cef370d92e45f33c91dd89258c /sys/cam | |
parent | 1885a77c0e67a3e5eaf52f7c266d102d52a94225 (diff) | |
download | FreeBSD-src-c09da8d6d9b17bb375fdba22adcc311ce2c10e86.zip FreeBSD-src-c09da8d6d9b17bb375fdba22adcc311ce2c10e86.tar.gz |
Remove an overzealous check.
Submitted by: das
Reviewed by: scottl
Approved by: rwatson (mentor, implicit)
Sponsored by: FreeBSD Foundation
Diffstat (limited to 'sys/cam')
-rw-r--r-- | sys/cam/cam_xpt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/cam/cam_xpt.c b/sys/cam/cam_xpt.c index 4bf3338..e2d88be 100644 --- a/sys/cam/cam_xpt.c +++ b/sys/cam/cam_xpt.c @@ -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 |