diff mbox

[opensm] osm_state_mgr.c: Remove redundant unset to first_time_master_sweep

Message ID 53187F3F.7000306@dev.mellanox.co.il (mailing list archive)
State Accepted
Delegated to: Hal Rosenstock
Headers show

Commit Message

Hal Rosenstock March 6, 2014, 1:59 p.m. UTC
From: Alex Netes <alexne@mellanox.com>
Date: Thu, 18 Jul 2013 11:08:14 +0300

We should clear first_time_master_sweep anyway during the first sweep.

Signed-off-by: Alex Netes <alexne@mellanox.com>
---
 opensm/osm_state_mgr.c |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
diff mbox

Patch

diff --git a/opensm/osm_state_mgr.c b/opensm/osm_state_mgr.c
index 0dd89e9..06cb763 100644
--- a/opensm/osm_state_mgr.c
+++ b/opensm/osm_state_mgr.c
@@ -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)