diff mbox

opensm/osm_lid_mgr.c: Allow switch lids to be non LMC aligned

Message ID 4C29F9E5.6030905@gmail.com (mailing list archive)
State Not Applicable
Headers show

Commit Message

Eli Dorfman (Voltaire) June 29, 2010, 1:49 p.m. UTC
None
diff mbox

Patch

diff --git a/opensm/opensm/osm_lid_mgr.c b/opensm/opensm/osm_lid_mgr.c
index 97b1de6..5d0247a 100644
--- a/opensm/opensm/osm_lid_mgr.c
+++ b/opensm/opensm/osm_lid_mgr.c
@@ -563,10 +563,6 @@  static boolean_t lid_mgr_is_range_not_persistent(IN osm_lid_mgr_t * p_mgr,
 						 IN uint16_t num_lids)
 {
 	uint16_t i;
-	uint8_t start_lid = (uint8_t) (1 << p_mgr->p_subn->opt.lmc);
-
-	if (lid < start_lid)
-		return FALSE;
 
 	for (i = lid; i < lid + num_lids; i++)
 		if (p_mgr->used_lids[i])