From 1b344bfff2950b89ebca41fdd3051dd704195177 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 27 Apr 2016 02:47:39 +0000 Subject: [PATCH] provide an empty DPRINTF --- sys/dev/raidframe/rf_netbsdkintf.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/sys/dev/raidframe/rf_netbsdkintf.c b/sys/dev/raidframe/rf_netbsdkintf.c index b9c22f963b17..57a0d52d595c 100644 --- a/sys/dev/raidframe/rf_netbsdkintf.c +++ b/sys/dev/raidframe/rf_netbsdkintf.c @@ -1,4 +1,4 @@ -/* $NetBSD: rf_netbsdkintf.c,v 1.344 2016/04/27 02:24:06 christos Exp $ */ +/* $NetBSD: rf_netbsdkintf.c,v 1.345 2016/04/27 02:47:39 christos Exp $ */ /*- * Copyright (c) 1996, 1997, 1998, 2008-2011 The NetBSD Foundation, Inc. @@ -101,7 +101,7 @@ ***********************************************************/ #include -__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.344 2016/04/27 02:24:06 christos Exp $"); +__KERNEL_RCSID(0, "$NetBSD: rf_netbsdkintf.c,v 1.345 2016/04/27 02:47:39 christos Exp $"); #ifdef _KERNEL_OPT #include "opt_compat_netbsd.h" @@ -163,6 +163,8 @@ int rf_kdebug_level = 0; #ifdef DEBUG_ROOT #define DPRINTF(a, ...) printf(a, __VA_ARGS__) +#else +#define DPRINTF(a, ...) #endif #if (RF_INCLUDE_PARITY_DECLUSTERING_DS > 0)