summaryrefslogtreecommitdiff
path: root/sys/dev/dm/dm_target_mirror.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_mirror.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_mirror.c')
-rw-r--r--sys/dev/dm/dm_target_mirror.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/sys/dev/dm/dm_target_mirror.c b/sys/dev/dm/dm_target_mirror.c
index 59ba28bc828..33eebb13b6a 100644
--- a/sys/dev/dm/dm_target_mirror.c
+++ b/sys/dev/dm/dm_target_mirror.c
@@ -1,4 +1,4 @@
-/*$NetBSD: dm_target_mirror.c,v 1.18 2019/12/12 16:28:24 tkusumi Exp $*/
+/*$NetBSD: dm_target_mirror.c,v 1.19 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_mirror.c,v 1.18 2019/12/12 16:28:24 tkusumi Exp $");
+__KERNEL_RCSID(0, "$NetBSD: dm_target_mirror.c,v 1.19 2019/12/14 10:02:35 tkusumi Exp $");
/*
* This file implements initial version of device-mapper mirror target.
@@ -149,8 +149,6 @@ int
dm_target_mirror_strategy(dm_table_entry_t *table_en, struct buf *bp)
{
- printf("Mirror target read function called!!\n");
-
bp->b_error = EIO;
bp->b_resid = 0;