summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_target_stripe.c
diff options
context:
space:
mode:
authortkusumi <tkusumi@NetBSD.org>2019-12-14 10:02:35 +0000
committertkusumi <tkusumi@NetBSD.org>2019-12-14 10:02:35 +0000
commit6caba6c835bdbeb571dc27d847480163dad4b059 (patch)
tree9475c1b8ac41d6fd91041e4f02bf307275ceb3fe /sys/dev/dm/dm_target_stripe.c
parente1db0bf8efb27511e51d6b6997505a4ccebdb923 (diff)
dm: Remove unconditional debug prints in targets' ->strategy()
Having debug prints in ->strategy() by default just to tell ->strategy() is called is overkill. taken-from: DragonFlyBSD
Diffstat (limited to 'sys/dev/dm/dm_target_stripe.c')
-rw-r--r--sys/dev/dm/dm_target_stripe.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/dev/dm/dm_target_stripe.c b/sys/dev/dm/dm_target_stripe.c
index 87c1f8abbc3..58cce816328 100644
--- a/sys/dev/dm/dm_target_stripe.c
+++ b/sys/dev/dm/dm_target_stripe.c
@@ -1,4 +1,4 @@
-/*$NetBSD: dm_target_stripe.c,v 1.34 2019/12/12 16:28:24 tkusumi Exp $*/
+/*$NetBSD: dm_target_stripe.c,v 1.35 2019/12/14 10:02:35 tkusumi Exp $*/
/*
* Copyright (c) 2009 The NetBSD Foundation, Inc.
@@ -29,7 +29,7 @@
* POSSIBILITY OF SUCH DAMAGE.
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: dm_target_stripe.c,v 1.34 2019/12/12 16:28:24 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_target_stripe.c,v 1.35 2019/12/14 10:02:35 tkusumi Exp $");
/*
* This file implements initial version of device-mapper stripe target.
@@ -226,9 +226,6 @@ dm_target_stripe_strategy(dm_table_entry_t *table_en, struct buf *bp)
if (tsc == NULL)
return 0;
-/* printf("Stripe target read function called %" PRIu64 "!!\n",
- tlc->offset);*/
-
/* calculate extent of request */
KASSERT(bp->b_resid % DEV_BSIZE == 0);