Skip to contentSkip to conversation

osm_state_mgr.c: Remove redundant unset to first_time_master_sweep

PATCH New Hal Rosenstock 1 participant 1 message Mar 6, 2014 InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 osm_state_mgr.c: Remove redundant unset to first_time_master_sweep

From: Alex Netes <alexne-VPRAkNaXOzVWk0Htik3J/[email protected]>
Date: Thu, 18 Jul 2013 11:08:14 +0300

We should clear first_time_master_sweep anyway during the first sweep.

---
 opensm/osm_state_mgr.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
opensm/osm_state_mgr.c +0 -1
index 0dd89e9..06cb763 100644
@@ -2213,7 +2213,6 @@ repeat_discovery:
 		sm->p_subn->need_update = 0;
 		osm_dump_all(sm->p_subn->p_osm);
 		state_mgr_up_msg(sm);
-		sm->p_subn->first_time_master_sweep = FALSE;
 
 		if (OSM_LOG_IS_ACTIVE_V2(sm->p_log, OSM_LOG_VERBOSE) ||
 		    sm->p_subn->opt.sa_db_dump)
Signature · 6 lines
1.7.8.2

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html