Skip to contentSkip to conversation

opensm/osm_sa_path_record.c: Remove unused osm_get_path_params routine

PATCH In review Hal Rosenstock 1 participant 2 messages Sep 30, 2011 – Oct 18, 2011 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_sa_path_record.c: Remove unused osm_get_path_params routine

---

opensm/osm_sa_path_record.c +0 -12
index 266c5c5..1f36326 100644
@@ -836,18 +836,6 @@ Exit:
 	return status;
 }
 
-ib_api_status_t osm_get_path_params(IN osm_sa_t * sa,
-				    IN const osm_port_t * p_src_port,
-				    IN const osm_port_t * p_dest_port,
-				    IN const uint16_t dlid_ho,
-				    OUT osm_path_parms_t * p_parms)
-{
-	ib_path_rec_t pr;
-	memset(&pr, 0, sizeof(ib_path_rec_t));
-	return pr_rcv_get_path_parms(sa, &pr,
-		p_src_port, p_dest_port, dlid_ho, 0, p_parms);
-}
-
 static void pr_rcv_build_pr(IN osm_sa_t * sa, IN const osm_port_t * p_src_port,
 			    IN const osm_port_t * p_dest_port,
 			    IN const ib_gid_t * p_dgid,

--
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): 4E85F2D1.2080609-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org

#2 lore raw

Alex,

On 9/30/2011 12:48 PM, Hal Rosenstock wrote:

Please ignore this patch. This routine is used by OpenSM plugins so should not be removed as this patch proposed.

-- Hal

Quoted 15 lines

---

opensm/osm_sa_path_record.c +0 -5
index 266c5c5..1f36326 100644
@@ -836,18 +836,6 @@ Exit:
 	return status;
 }
 
-ib_api_status_t osm_get_path_params(IN osm_sa_t * sa,
-				    IN const osm_port_t * p_src_port,
-				    IN const osm_port_t * p_dest_port,
-				    IN const uint16_t dlid_ho,
-				    OUT osm_path_parms_t * p_parms)

opensm/osm_sa_path_record.c Exit: · line 841

Quoted 10 lines
opensm/osm_sa_path_record.c +0 -7
-{
-	ib_path_rec_t pr;
-	memset(&pr, 0, sizeof(ib_path_rec_t));
-	return pr_rcv_get_path_parms(sa, &pr,
-		p_src_port, p_dest_port, dlid_ho, 0, p_parms);
-}
-
 static void pr_rcv_build_pr(IN osm_sa_t * sa, IN const osm_port_t * p_src_port,
 			    IN const osm_port_t * p_dest_port,
 			    IN const ib_gid_t * p_dgid,

--
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