Skip to contentSkip to conversation

opensm/osm_sa_pkey_record.c: removing unused variable

PATCH Applied Yevgeny Kliteynik 2 participants 2 messages Sep 7, 2010 1 message not in the archive InfiniBand

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 opensm/osm_sa_pkey_record.c: removing unused variable

---
 opensm/opensm/osm_sa_pkey_record.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
opensm/opensm/osm_sa_pkey_record.c +0 -3
index 5b1c794..e4930d0 100644
@@ -210,7 +210,6 @@ void osm_pkey_rec_rcv_process(IN void *ctx, IN void *data)
 	const ib_sa_mad_t *p_rcvd_mad;
 	const ib_pkey_table_record_t *p_rcvd_rec;
 	const osm_port_t *p_port = NULL;
-	const ib_pkey_table_t *p_pkey;
 	cl_qlist_t rec_list;
 	osm_pkey_search_ctxt_t context;
 	ib_net64_t comp_mask;
@@ -264,8 +263,6 @@ void osm_pkey_rec_rcv_process(IN void *ctx, IN void *data)
 		goto Exit;
 	}
 
-	p_pkey = ib_sa_mad_get_payload_ptr(p_rcvd_mad);
-
 	cl_qlist_init(&rec_list);
 
 	context.p_rcvd_rec = p_rcvd_rec;
Signature · 6 lines
1.6.2.4

--
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

A message that is not in the archive (sent off-list or not yet received): 4C8652DF.4010705-VPRAkNaXOzVS1MOuV/[email protected]