summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/kern/subr_devstat.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/subr_devstat.c b/sys/kern/subr_devstat.c
index 3f939fe..8a7eff5 100644
--- a/sys/kern/subr_devstat.c
+++ b/sys/kern/subr_devstat.c
@@ -281,8 +281,6 @@ devstat_end_transaction(struct devstat *ds, u_int32_t bytes,
{
struct bintime dt, lnow;
- mtx_assert(&devstat_mutex, MA_NOTOWNED);
-
/* sanity check */
if (ds == NULL)
return;
@@ -326,8 +324,6 @@ devstat_end_transaction_bio(struct devstat *ds, struct bio *bp)
{
devstat_trans_flags flg;
- mtx_assert(&devstat_mutex, MA_NOTOWNED);
-
/* sanity check */
if (ds == NULL)
return;
OpenPOWER on IntegriCloud