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

*** 21,30 **** --- 21,33 ---- /* * 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,412 **** /* 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 #endif /* * kernel accessible routines. These routines are necessarily global so the * driver can be loaded, and unloaded successfully --- 405,415 ---- /* 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(...) (void)(0) #endif /* * kernel accessible routines. These routines are necessarily global so the * driver can be loaded, and unloaded successfully