public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] opensm/osm_ucast_dfsssp.c: Fix unused variable in update_mcft()
@ 2013-05-09 15:48 Alex Netes
       [not found] ` <1368114489-20424-1-git-send-email-alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
  0 siblings, 1 reply; 2+ messages in thread
From: Alex Netes @ 2013-05-09 15:48 UTC (permalink / raw)
  To: Hal Rosenstock, linux-rdma-u79uwXL29TY76Z2rM5mHXA; +Cc: Alex Netes

counter isn't being used.

Signed-off-by: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
---
 opensm/osm_ucast_dfsssp.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/opensm/osm_ucast_dfsssp.c b/opensm/osm_ucast_dfsssp.c
index be13458..7b77eed 100644
--- a/opensm/osm_ucast_dfsssp.c
+++ b/opensm/osm_ucast_dfsssp.c
@@ -1611,8 +1611,6 @@ static int update_mcft(osm_sm_t * p_sm, vertex_t * adj_list,
 		   the downstream port of the next switch to the mcast table
 		   until we reach the root_sw
 		 */
-		int counter;
-		counter = 0;
 		curr_adj = &adj_list[i];
 		while (curr_adj->sw != root_sw) {
 			/* the used_link is the link that was used in dijkstra to reach this node,
-- 
1.7.11.7

--
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_ucast_dfsssp.c: Fix unused variable in update_mcft()
       [not found] ` <1368114489-20424-1-git-send-email-alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
@ 2013-05-10 11:49   ` Hal Rosenstock
  0 siblings, 0 replies; 2+ messages in thread
From: Hal Rosenstock @ 2013-05-10 11:49 UTC (permalink / raw)
  To: Alex Netes; +Cc: Hal Rosenstock, linux-rdma-u79uwXL29TY76Z2rM5mHXA

On 5/9/2013 11:48 AM, Alex Netes wrote:
> counter isn't being used.
> 
> Signed-off-by: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>

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

end of thread, other threads:[~2013-05-10 11:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-09 15:48 [PATCH] opensm/osm_ucast_dfsssp.c: Fix unused variable in update_mcft() Alex Netes
     [not found] ` <1368114489-20424-1-git-send-email-alexne-VPRAkNaXOzVWk0Htik3J/w@public.gmane.org>
2013-05-10 11:49   ` Hal Rosenstock

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