[IPoIB] Fix WPP for free build
authorftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 16 May 2006 18:36:49 +0000 (18:36 +0000)
committerftillier <ftillier@ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86>
Tue, 16 May 2006 18:36:49 +0000 (18:36 +0000)
git-svn-id: svn://openib.tc.cornell.edu/gen1/trunk@356 ad392aa1-c5ef-ae45-8dd8-e69d62a5ef86

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
                        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
        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
 \r
        cl_free( param_path.Buffer );\r
        IPOIB_EXIT( IPOIB_DBG_INIT );\r