[IPoIB] Fix WPP for free build
[mirror/winof/.git] / ulp / ipoib / kernel / ipoib_driver.c
index 01afadc..5b5c19d 100644 (file)
@@ -369,8 +369,10 @@ __ipoib_read_registry(
                        g_ipoib_dbg_level,\r
                        g_ipoib_dbg_flags));\r
 \r
+#if DBG\r
        if( g_ipoib_dbg_flags & IPOIB_DBG_ERR )\r
                g_ipoib_dbg_flags |= CL_DBG_ERROR;\r
+#endif\r
 \r
        cl_free( param_path.Buffer );\r
        IPOIB_EXIT( IPOIB_DBG_INIT );\r