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

@@ -1,10 +1,10 @@
 /*
  * Copyright 2017 Gary Mills
  * Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
- * Copyright (c) 2018, Joyent, Inc.
+ * Copyright 2019 Joyent, Inc.
  */
 
 /*
  * Copyright (c) 2007, 2008
  *      Damien Bergamini <damien.bergamini@free.fr>

@@ -71,11 +71,11 @@
 
 #ifdef DEBUG
 #define RWN_DEBUG \
         rt2860_debug
 #else
-#define RWN_DEBUG
+#define RWN_DEBUG(...) (void)(0)
 #endif
 
 static void *rt2860_soft_state_p = NULL;
 static uint8_t rt2860_fw_bin [] = {
 #include "fw-rt2860/rt2860.ucode"