[openib-general] [PATCH] [TRIVIAL] OpenSM/osm_port_info_rcv.c: Remove duplicate dump of received PortInfo
Yevgeny Kliteynik
kliteyn at dev.mellanox.co.il
Thu Oct 19 06:00:13 PDT 2006
Looks good.
--
Yevgeny
Hal Rosenstock wrote:
> 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
>
>
>
>
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
>
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general
>
More information about the general
mailing list