opensm/osm_subnet.h: remove redundant function definition
PATCH 1/1 opensm/osm_subnet.h: remove redundant function definition
osm_get_physp_by_mad_addr() function is defined twice in the same header file. Removing one of the definitions and fixing compilation warning.
Signed-off-by Yevgeny Kliteynik <[email protected]>
--- opensm/include/opensm/osm_subnet.h | 35 ----------------------------------- 1 files changed, 0 insertions(+), 35 deletions(-)
opensm/include/opensm/osm_subnet.h +0 -35
@@ -1028,41 +1028,6 @@ static inline struct osm_mgrp_box *osm_get_mbox_by_mlid(osm_subn_t const *p_subn* The multicast group structure pointer if found. NULL otherwise. *********/ -/****f* OpenSM: Helper/osm_get_physp_by_mad_addr -* NAME -* osm_get_physp_by_mad_addr -* -* DESCRIPTION -* Looks for the requester physical port in the mad address. -* -* Note: This code is not thread safe. Need to grab the lock before -* calling it. -* -* SYNOPSIS -*/ -struct osm_physp *osm_get_physp_by_mad_addr(IN struct osm_log *p_log, - IN const osm_subn_t * p_subn, - IN struct osm_mad_addr - *p_mad_addr); -/* -* PARAMETERS -* p_log -* [in] Pointer to a log object. -* -* p_subn -* [in] Pointer to subnet object. -* -* p_mad_addr -* [in] Pointer to mad address object. -* -* RETURN VALUES -* Pointer to requester physical port object if found. Null otherwise. -* -* NOTES -* -* SEE ALSO -*********/ -/****f* OpenSM: Subnet/osm_subn_set_default_opt * NAME * osm_subn_set_default_opt
Signature · 6 lines
1.5.1.4 -- 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): 4B66CD37.1040300-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org
Sasha Khapyorsky
AppliedQuoted 5 lines · Yevgeny Kliteynik
osm_get_physp_by_mad_addr()function is defined twice in the same header file. Removing one of the definitions and fixing compilation warning.Signed-off-by Yevgeny Kliteynik <[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