Remove unused 'is_ipoib' parameter when
creating  mcast group for ipoib partitions.

Signed-off-by: Yevgeny Kliteynik <[EMAIL PROTECTED]>
---
 opensm/opensm/osm_prtn.c        |    4 ++--
 opensm/opensm/osm_prtn_config.c |    4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/opensm/opensm/osm_prtn.c b/opensm/opensm/osm_prtn.c
index 151c4aa..8b20459 100644
--- a/opensm/opensm/osm_prtn.c
+++ b/opensm/opensm/osm_prtn.c
@@ -189,7 +189,7 @@ static const ib_gid_t osm_ts_ipoib_mgid = {

 ib_api_status_t osm_prtn_add_mcgroup(osm_log_t * p_log,
                                     osm_subn_t * p_subn, osm_prtn_t * p,
-                                    unsigned is_ipoib, uint8_t rate,
+                                    uint8_t rate,
                                     uint8_t mtu, uint8_t scope)
 {
        ib_member_rec_t mc_rec;
@@ -338,7 +338,7 @@ static ib_api_status_t osm_prtn_make_default(osm_log_t * 
const p_log,
            osm_prtn_add_port(p_log, p_subn, p, p_subn->sm_port_guid, TRUE);

        if (no_config)
-               osm_prtn_add_mcgroup(p_log, p_subn, p, 1, 0, 0, 0);
+               osm_prtn_add_mcgroup(p_log, p_subn, p, 0, 0, 0);

       _err:
        return status;
diff --git a/opensm/opensm/osm_prtn_config.c b/opensm/opensm/osm_prtn_config.c
index 2124c2d..1253031 100644
--- a/opensm/opensm/osm_prtn_config.c
+++ b/opensm/opensm/osm_prtn_config.c
@@ -82,7 +82,7 @@ extern ib_api_status_t osm_prtn_add_port(osm_log_t * p_log,
                                         ib_net64_t guid, boolean_t full);
 extern ib_api_status_t osm_prtn_add_mcgroup(osm_log_t * p_log,
                                            osm_subn_t * p_subn, osm_prtn_t * p,
-                                           unsigned is_ipoib, uint8_t rate,
+                                           uint8_t rate,
                                            uint8_t mtu, uint8_t scope);

 static int partition_create(unsigned lineno, struct part_conf *conf,
@@ -121,7 +121,7 @@ static int partition_create(unsigned lineno, struct 
part_conf *conf,

        if (conf->is_ipoib)
                osm_prtn_add_mcgroup(conf->p_log, conf->p_subn, conf->p_prtn,
-                                    conf->is_ipoib, (uint8_t) conf->rate,
+                                    (uint8_t) conf->rate,
                                     (uint8_t) conf->mtu,
                                     (uint8_t) conf->scope);

-- 
1.5.1.4

_______________________________________________
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