[ofa-general] [PATCH][TRIVIAL] opensm: Remove extraneous semicolon

Dotan Barak dotanb at dev.mellanox.co.il
Tue Mar 25 02:43:25 PDT 2008


Remove extraneous semicolon.

Signed-off-by: Dotan Barak <dotanb at dev.mellanox.co.il>

---

diff --git a/opensm/opensm/osm_ucast_lash.c b/opensm/opensm/osm_ucast_lash.c
index 0735aed..74cdd7f 100644
--- a/opensm/opensm/osm_ucast_lash.c
+++ b/opensm/opensm/osm_ucast_lash.c
@@ -911,7 +911,7 @@ static int init_lash_structures(lash_t * p_lash)
 	}
 
 	// initialise num_mst_in_lane[num_switches], default 0
-	p_lash->num_mst_in_lane = (int *)malloc(num_switches * sizeof(int));;
+	p_lash->num_mst_in_lane = (int *)malloc(num_switches * sizeof(int));
 	if (p_lash->num_mst_in_lane == NULL)
 		goto Exit_Mem_Error;
 	memset(p_lash->num_mst_in_lane, 0,



More information about the general mailing list