[ofa-general] [PATCH] opensm/main.c: remove enable_stack_dump() call

Sasha Khapyorsky sashak at voltaire.com
Mon Feb 23 09:21:47 PST 2009


enable_stack_dump() symbol was defined in already removed libibcommon.
There still be conditional (undef #ifdef _DEBUG_) call to this function
in opensm/main.c which breaks build opensm linkage when --enable-debug
configured. Removing this.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 opensm/opensm/main.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/opensm/opensm/main.c b/opensm/opensm/main.c
index e22c2c4..47fd658 100644
--- a/opensm/opensm/main.c
+++ b/opensm/opensm/main.c
@@ -596,9 +596,6 @@ int main(int argc, char *argv[])
 			osm_is_debug(), cl_is_debug());
 		exit(1);
 	}
-#if defined (_DEBUG_) && defined (OSM_VENDOR_INTF_OPENIB)
-	enable_stack_dump(1);
-#endif
 
 	printf("-------------------------------------------------\n");
 	printf("%s\n", OSM_VERSION);
-- 
1.6.1.2.319.gbd9e




More information about the general mailing list