In dump_sl2vl_tbl, no need to check remote physp for
CA and router ports. It's not used in code flow there.

Signed-off-by: Hal Rosenstock <[email protected]>
---
diff --git a/opensm/osm_dump.c b/opensm/osm_dump.c
index b29d957..69cc360 100644
--- a/opensm/osm_dump.c
+++ b/opensm/osm_dump.c
@@ -524,7 +524,6 @@ static void dump_sl2vl_tbl(cl_map_item_t * item, FILE * 
file, void *cxt)
                }
        } else {
                p_physp = p_port->p_physp;
-               CL_ASSERT(p_physp->p_remote_physp);
                p_tbl = osm_physp_get_slvl_tbl(p_physp, 0);
                for (i = 0, n = 0; i < 16; i++)
                        n += sprintf(buf + n, " %-2d",
--
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

Reply via email to