diff mbox

opensm/osm_sa_vlarb_record.c: removed unused variable

Message ID 4C865356.9050609@mellanox.co.il (mailing list archive)
State Not Applicable, archived
Headers show

Commit Message

Yevgeny Kliteynik Sept. 7, 2010, 2:59 p.m. UTC
None
diff mbox

Patch

diff --git a/opensm/opensm/osm_sa_vlarb_record.c b/opensm/opensm/osm_sa_vlarb_record.c
index 36cbac1..d32fdb1 100644
--- a/opensm/opensm/osm_sa_vlarb_record.c
+++ b/opensm/opensm/osm_sa_vlarb_record.c
@@ -212,7 +212,6 @@  void osm_vlarb_rec_rcv_process(IN void *ctx, IN void *data)
 	const ib_sa_mad_t *sad_mad;
 	const ib_vl_arb_table_record_t *p_rcvd_rec;
 	const osm_port_t *p_port = NULL;
-	const ib_vl_arb_table_t *p_vl_arb;
 	cl_qlist_t rec_list;
 	osm_vl_arb_search_ctxt_t context;
 	ib_api_status_t status = IB_SUCCESS;
@@ -252,8 +251,6 @@  void osm_vlarb_rec_rcv_process(IN void *ctx, IN void *data)
 		goto Exit;
 	}

-	p_vl_arb = (ib_vl_arb_table_t *) ib_sa_mad_get_payload_ptr(sad_mad);
-
 	cl_qlist_init(&rec_list);

 	context.p_rcvd_rec = p_rcvd_rec;