Nobody refers OSM_SIGNAL_NONE, osm_mcast_mgr_process_mgroups() is not
running in a loop - no special need to track empty queues.

Signed-off-by: Sasha Khapyorsky <[EMAIL PROTECTED]>
---
 opensm/opensm/osm_mcast_mgr.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)

diff --git a/opensm/opensm/osm_mcast_mgr.c b/opensm/opensm/osm_mcast_mgr.c
index 1178522..ca42a9f 100644
--- a/opensm/opensm/osm_mcast_mgr.c
+++ b/opensm/opensm/osm_mcast_mgr.c
@@ -1376,11 +1376,6 @@ osm_signal_t 
osm_mcast_mgr_process_mgroups(osm_mcast_mgr_t * p_mgr)
        /* we need a lock to make sure the p_mgrp is not change other ways */
        CL_PLOCK_EXCL_ACQUIRE(p_mgr->p_lock);
 
-       if (cl_is_qlist_empty(p_list)) {
-               CL_PLOCK_RELEASE(p_mgr->p_lock);
-               return OSM_SIGNAL_NONE;
-       }
-
        while (!cl_is_qlist_empty(p_list)) {
                ctx = (osm_mcast_mgr_ctxt_t *) cl_qlist_remove_head(p_list);
                req_type = ctx->req_type;
-- 
1.5.4.rc5

_______________________________________________
general mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/general

To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general

Reply via email to