public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Removed *p_ftree from function *sw_create().
@ 2015-06-04 12:12 Vangelis
       [not found] ` <1433419971-29067-1-git-send-email-vangelis-S8y2klWGCOFhl2p70BpVqQ@public.gmane.org>
  0 siblings, 1 reply; 3+ messages in thread
From: Vangelis @ 2015-06-04 12:12 UTC (permalink / raw)
  To: linux-rdma-u79uwXL29TY76Z2rM5mHXA; +Cc: Vangelis

ftree_fabric_t *p_ftree is not used anywhere in OpenSM's function sw_create().
---
 opensm/osm_ucast_ftree.c | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/opensm/osm_ucast_ftree.c b/opensm/osm_ucast_ftree.c
index f646bd0..3699d95 100644
--- a/opensm/osm_ucast_ftree.c
+++ b/opensm/osm_ucast_ftree.c
@@ -528,8 +528,7 @@ static void port_group_add_port(IN ftree_port_group_t * p_group,
  **
  ***************************************************/
 
-static ftree_sw_t *sw_create(IN ftree_fabric_t * p_ftree,
-			     IN osm_switch_t * p_osm_sw)
+static ftree_sw_t *sw_create(IN osm_switch_t * p_osm_sw)
 {
 	ftree_sw_t *p_sw;
 	uint8_t ports_num;
@@ -1089,7 +1088,7 @@ static void fabric_add_sw(ftree_fabric_t * p_ftree, osm_switch_t * p_osm_sw)
 
 	CL_ASSERT(osm_node_get_type(p_osm_sw->p_node) == IB_NODE_TYPE_SWITCH);
 
-	p_sw = sw_create(p_ftree, p_osm_sw);
+	p_sw = sw_create(p_osm_sw);
 	if (!p_sw)
 		return;
 
-- 
1.9.1

--
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] 3+ messages in thread

* Re: [PATCH] Removed *p_ftree from function *sw_create().
       [not found] ` <1433419971-29067-1-git-send-email-vangelis-S8y2klWGCOFhl2p70BpVqQ@public.gmane.org>
@ 2015-06-04 12:55   ` Hal Rosenstock
  2015-06-04 14:02   ` Hal Rosenstock
  1 sibling, 0 replies; 3+ messages in thread
From: Hal Rosenstock @ 2015-06-04 12:55 UTC (permalink / raw)
  To: Vangelis; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

Hi Vangelis,

On 6/4/2015 8:12 AM, Vangelis wrote:
> ftree_fabric_t *p_ftree is not used anywhere in OpenSM's function sw_create().
> ---
>  opensm/osm_ucast_ftree.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

This looks fine to me. Please send me your S-O-B line for this. Thanks.

-- Hal
--
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] 3+ messages in thread

* Re: [PATCH] Removed *p_ftree from function *sw_create().
       [not found] ` <1433419971-29067-1-git-send-email-vangelis-S8y2klWGCOFhl2p70BpVqQ@public.gmane.org>
  2015-06-04 12:55   ` Hal Rosenstock
@ 2015-06-04 14:02   ` Hal Rosenstock
  1 sibling, 0 replies; 3+ messages in thread
From: Hal Rosenstock @ 2015-06-04 14:02 UTC (permalink / raw)
  To: Vangelis; +Cc: linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 6/4/2015 8:12 AM, Vangelis wrote:
> ftree_fabric_t *p_ftree is not used anywhere in OpenSM's function sw_create().
> ---
>  opensm/osm_ucast_ftree.c | 5 ++---
>  1 file changed, 2 insertions(+), 3 deletions(-)

Thanks. Applied.

-- Hal
--
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] 3+ messages in thread

end of thread, other threads:[~2015-06-04 14:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-04 12:12 [PATCH] Removed *p_ftree from function *sw_create() Vangelis
     [not found] ` <1433419971-29067-1-git-send-email-vangelis-S8y2klWGCOFhl2p70BpVqQ@public.gmane.org>
2015-06-04 12:55   ` Hal Rosenstock
2015-06-04 14:02   ` Hal Rosenstock

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox