mirror of https://github.com/ipxe/ipxe.git
[hermon] Avoid unused variable warning in gcc 4.6
Reported-by: Ralph Giles <giles@thaumas.net> Tested-by: Ralph Giles <giles@thaumas.net> Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/1/head
parent
0bb8508143
commit
4774a4fb92
|
@ -1675,7 +1675,6 @@ static int hermon_complete ( struct ib_device *ibdev,
|
||||||
struct hermon *hermon = ib_get_drvdata ( ibdev );
|
struct hermon *hermon = ib_get_drvdata ( ibdev );
|
||||||
struct ib_work_queue *wq;
|
struct ib_work_queue *wq;
|
||||||
struct ib_queue_pair *qp;
|
struct ib_queue_pair *qp;
|
||||||
struct hermon_queue_pair *hermon_qp;
|
|
||||||
struct io_buffer *iobuf;
|
struct io_buffer *iobuf;
|
||||||
struct ib_address_vector recv_av;
|
struct ib_address_vector recv_av;
|
||||||
struct ib_global_route_header *grh;
|
struct ib_global_route_header *grh;
|
||||||
|
@ -1710,7 +1709,6 @@ static int hermon_complete ( struct ib_device *ibdev,
|
||||||
return -EIO;
|
return -EIO;
|
||||||
}
|
}
|
||||||
qp = wq->qp;
|
qp = wq->qp;
|
||||||
hermon_qp = ib_qp_get_drvdata ( qp );
|
|
||||||
|
|
||||||
/* Identify work queue entry */
|
/* Identify work queue entry */
|
||||||
wqe_idx = MLX_GET ( &cqe->normal, wqe_counter );
|
wqe_idx = MLX_GET ( &cqe->normal, wqe_counter );
|
||||||
|
|
Loading…
Reference in New Issue