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

*** 23,32 **** --- 23,36 ---- /* * 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,85 **** #ifdef DEBUG #define RWD_DEBUG \ rt2661_debug #else ! #define RWD_DEBUG #endif static void *rt2661_soft_state_p = NULL; static const uint8_t *ucode = NULL; --- 79,89 ---- #ifdef DEBUG #define RWD_DEBUG \ rt2661_debug #else ! #define RWD_DEBUG(...) (void)(0) #endif static void *rt2661_soft_state_p = NULL; static const uint8_t *ucode = NULL;