[openib-general] [PATCH] [TRIVIAL] ib_mad.c: Fix check_class_table function

Hal Rosenstock halr at voltaire.com
Fri Sep 10 16:33:37 PDT 2004


ib_mad.c: Fix check_class_table function

Index: ib_mad.c
===================================================================
--- ib_mad.c    (revision 776)
+++ ib_mad.c    (working copy)
@@ -446,9 +446,8 @@
                if (class->method_table[i]) {
                        j++;
                }
-       return j;
        }
-
+       return j;
 }
 
 static void remove_methods_mad_agent(struct ib_mad_mgmt_method_table
*method,





More information about the general mailing list