[openib-general] [PATCH] [TRIVIAL] OpenSM/osm_port_info_rcv.c: Remove duplicate dump of received PortInfo

Hal Rosenstock halr at voltaire.com
Wed Oct 18 19:19:57 PDT 2006


OpenSM/osm_port_info_rcv.c: Remove duplicate dump of received PortInfo
in osm_pi_rcv_process

Signed-off-by: Hal Rosenstock <halr at voltaire.com>

Index: opensm/osm_port_info_rcv.c
===================================================================
--- opensm/osm_port_info_rcv.c	(revision 9884)
+++ opensm/osm_port_info_rcv.c	(working copy)
@@ -710,8 +710,9 @@ osm_pi_rcv_process(
   port_guid = p_context->port_guid;
   node_guid = p_context->node_guid;
 
-  osm_dump_port_info(
-    p_rcv->p_log, node_guid, port_guid, port_num, p_pi, OSM_LOG_DEBUG);
+  osm_dump_port_info( p_rcv->p_log,
+                      node_guid, port_guid, port_num, p_pi,
+                      OSM_LOG_DEBUG );
 
   /* 
      we might get a response during a light sweep looking for a change in 
@@ -829,10 +830,6 @@ osm_pi_rcv_process(
                         p_smp->hop_count, p_smp->initial_path );
     }
 
-    osm_dump_port_info( p_rcv->p_log,
-                        node_guid, port_guid, port_num, p_pi,
-                        OSM_LOG_DEBUG );
-
     /*
       Check if the update_sm_base_lid in the context is TRUE.
       If it is - then update the master_sm_base_lid of the variable







More information about the general mailing list