All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] opensm/osm_sa_path_record.c: Remove unused osm_get_path_params routine
@ 2011-09-30 16:48 Hal Rosenstock
       [not found] ` <4E85F2D1.2080609-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Hal Rosenstock @ 2011-09-30 16:48 UTC (permalink / raw)
  To: Alex Netes
  Cc: linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)


Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
diff --git a/opensm/osm_sa_path_record.c b/opensm/osm_sa_path_record.c
index 266c5c5..1f36326 100644
--- a/opensm/osm_sa_path_record.c
+++ b/opensm/osm_sa_path_record.c
@@ -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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] opensm/osm_sa_path_record.c: Remove unused osm_get_path_params routine
       [not found] ` <4E85F2D1.2080609-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
@ 2011-10-18 13:03   ` Hal Rosenstock
  0 siblings, 0 replies; 2+ messages in thread
From: Hal Rosenstock @ 2011-10-18 13:03 UTC (permalink / raw)
  To: Alex Netes
  Cc: linux-rdma (linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org)

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

> Signed-off-by: Hal Rosenstock <hal-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
> ---
> diff --git a/opensm/osm_sa_path_record.c b/opensm/osm_sa_path_record.c
> index 266c5c5..1f36326 100644
> --- a/opensm/osm_sa_path_record.c
> +++ b/opensm/osm_sa_path_record.c
> @@ -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 majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2011-10-18 13:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-09-30 16:48 [PATCH] opensm/osm_sa_path_record.c: Remove unused osm_get_path_params routine Hal Rosenstock
     [not found] ` <4E85F2D1.2080609-LDSdmyG8hGV8YrgS2mwiifqBs+8SCbDb@public.gmane.org>
2011-10-18 13:03   ` Hal Rosenstock

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.