[ofa-general] [PATCH] ibdiag_common: remove duplicated ibdebug variable

Sasha Khapyorsky sashak at voltaire.com
Sat Apr 25 10:13:35 PDT 2009


ibdebug is defined already in libibmad. Remove duplication in
ibdiag_common.c.

Signed-off-by: Sasha Khapyorsky <sashak at voltaire.com>
---
 infiniband-diags/include/ibdiag_common.h |    1 -
 infiniband-diags/src/ibdiag_common.c     |    1 -
 2 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/infiniband-diags/include/ibdiag_common.h b/infiniband-diags/include/ibdiag_common.h
index 52fd147..5c74b07 100644
--- a/infiniband-diags/include/ibdiag_common.h
+++ b/infiniband-diags/include/ibdiag_common.h
@@ -37,7 +37,6 @@
 
 #include <infiniband/mad.h>
 
-extern int ibdebug;
 extern int ibverbose;
 extern char *ibd_ca;
 extern int ibd_ca_port;
diff --git a/infiniband-diags/src/ibdiag_common.c b/infiniband-diags/src/ibdiag_common.c
index c0421f6..4ffa3f0 100644
--- a/infiniband-diags/src/ibdiag_common.c
+++ b/infiniband-diags/src/ibdiag_common.c
@@ -53,7 +53,6 @@
 #include <ibdiag_common.h>
 #include <ibdiag_version.h>
 
-int ibdebug;
 int ibverbose;
 char *ibd_ca;
 int ibd_ca_port;
-- 
1.6.1.2.319.gbd9e




More information about the general mailing list