[openib-general] [PATCH] sa_query: Remove debug print statement

Roland Dreier roland at topspin.com
Fri Oct 29 09:15:59 PDT 2004


    Hal> Sure. Are there specific ones you have in mind ? The ones
    Hal> that are KERN_DEBUG ? Any others ?

This alone will probably clean up my dmesg a lot:

Index: infiniband/core/mad.c
===================================================================
--- infiniband/core/mad.c	(revision 1098)
+++ infiniband/core/mad.c	(working copy)
@@ -1172,9 +1172,6 @@
                                        wc.status, (unsigned long long) wc.wr_id);
 			ib_mad_send_done_handler(port_priv, &wc);
 		} else {
-			printk(KERN_DEBUG PFX "Completion opcode 0x%x WRID 0x%Lx\n",
-			       wc.opcode, (unsigned long long) wc.wr_id);
-
 			switch (wc.opcode) {
 			case IB_WC_SEND:
 				ib_mad_send_done_handler(port_priv, &wc);




More information about the general mailing list