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

@@ -1,8 +1,10 @@
 /*
  * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  * Use is subject to license terms.
+ *
+ * Copyright 2019 Joyent, Inc.
  */
 /*
  * Copyright (c) 2004, 2005 David Young.  All rights reserved.
  *
  * Driver for the Realtek RTL8180 802.11 MAC/BBP by David Young.

@@ -76,11 +78,11 @@
 
 #ifdef DEBUG
 #define RTW_DPRINTF \
         rtw_dbg
 #else /* DEBUG */
-#define RTW_DPRINTF
+#define RTW_DPRINTF(...) (void)(0)
 #endif /* DEBUG */
 
 enum rtw_locale {
         RTW_LOCALE_USA = 0,
         RTW_LOCALE_EUROPE,