Print this page
10886 smatch debug macro cleanup in usr/src/uts

@@ -21,10 +21,13 @@
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
  */
 
+/*
+ * Copyright 2019 Joyent, Inc.
+ */
 
 /*
  * bscv.c - multi-threaded lom driver for the Stiletto platform.
  */
 

@@ -402,11 +405,11 @@
 /* Tracing is enabled if value is non-zero. */
 static int bscv_trace_flag = 1;
 
 #define BSCV_TRACE   if (bscv_trace_flag != 0)  bscv_trace
 #else
-#define BSCV_TRACE
+#define BSCV_TRACE(...) (void)(0)
 #endif
 
 /*
  * kernel accessible routines. These routines are necessarily global so the
  * driver can be loaded, and unloaded successfully