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

@@ -23,10 +23,14 @@
 /*
  * Ralink Technology RT2561, RT2561S and RT2661  chipset driver
  * http://www.ralinktech.com/
  */
 
+/*
+ * Copyright 2019 Joyent, Inc.
+ */
+
 #include <sys/types.h>
 #include <sys/byteorder.h>
 #include <sys/conf.h>
 #include <sys/cmn_err.h>
 #include <sys/stat.h>

@@ -75,11 +79,11 @@
 
 #ifdef DEBUG
 #define RWD_DEBUG \
         rt2661_debug
 #else
-#define RWD_DEBUG
+#define RWD_DEBUG(...) (void)(0)
 #endif
 
 static void *rt2661_soft_state_p = NULL;
 
 static const uint8_t *ucode = NULL;