opensm/osm_req.c: In osm_send_trap144, eliminate redundant clear of m_key in smp
PATCH 1/1 opensm/osm_req.c: In osm_send_trap144, eliminate redundant clear of m_key in smp
Already cleared by prior memset
Signed-off-by Hal Rosenstock <[email protected]>
---
opensm/opensm/osm_req.c +0 -1
@@ -250,7 +250,6 @@ int osm_send_trap144(osm_sm_t * sm, ib_net16_t local) smp->method =IB_MAD_METHOD_TRAP ; smp->trans_id =cl_hton64 ((uint64_t )cl_atomic_inc (&sm->sm_trans_id)); smp->attr_id =IB_MAD_ATTR_NOTICE ; - smp->m_key =0 ; ntc = (ib_mad_notice_attr_t *) smp->data;
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
A message that is not in the archive (sent off-list or not yet received): [email protected]
Sasha Khapyorsky
AppliedQuoted 4 lines · Hal Rosenstock
Already cleared by prior memset
Signed-off-by Hal Rosenstock <[email protected]>
Applied. Thanks.
Sasha
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html