[openib-general] [PATCH][TRIVIAL] OpenSM/osm_sa_class_port_info.c: Eliminate unneeded line of code in __osm_cpi_rcv_respond

Hal Rosenstock halr at voltaire.com
Wed Jul 19 15:31:17 PDT 2006


OpenSM/osm_sa_class_port_info.c: Eliminate unneeded line of code in
__osm_cpi_rcv_respond

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

Index: opensm/osm_sa_class_port_info.c
===================================================================
--- opensm/osm_sa_class_port_info.c	(revision 8606)
+++ opensm/osm_sa_class_port_info.c	(working copy)
@@ -160,7 +160,6 @@ __osm_cpi_rcv_respond(
   p_resp_sa_mad->method |= IB_MAD_METHOD_RESP_MASK;
   /* C15-0.1.5 - always return SM_Key = 0 (table 185 p 884) */
   p_resp_sa_mad->sm_key = 0;
-  p_resp_sa_mad->paylen_newwin = 0;
 
   p_resp_cpi = (ib_class_port_info_t*)ib_sa_mad_get_payload_ptr( p_resp_sa_mad );
 







More information about the general mailing list