diff options
Diffstat (limited to 'drivers/infiniband/hw/ocrdma/ocrdma.h')
-rw-r--r-- | drivers/infiniband/hw/ocrdma/ocrdma.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/ocrdma/ocrdma.h b/drivers/infiniband/hw/ocrdma/ocrdma.h index d540180a8e42..5c00600135ed 100644 --- a/drivers/infiniband/hw/ocrdma/ocrdma.h +++ b/drivers/infiniband/hw/ocrdma/ocrdma.h | |||
@@ -317,7 +317,6 @@ struct ocrdma_mr { | |||
317 | struct ib_mr ibmr; | 317 | struct ib_mr ibmr; |
318 | struct ib_umem *umem; | 318 | struct ib_umem *umem; |
319 | struct ocrdma_hw_mr hwmr; | 319 | struct ocrdma_hw_mr hwmr; |
320 | struct ocrdma_pd *pd; | ||
321 | }; | 320 | }; |
322 | 321 | ||
323 | struct ocrdma_ucontext { | 322 | struct ocrdma_ucontext { |
@@ -393,7 +392,7 @@ static inline int is_cqe_valid(struct ocrdma_cq *cq, struct ocrdma_cqe *cqe) | |||
393 | { | 392 | { |
394 | int cqe_valid; | 393 | int cqe_valid; |
395 | cqe_valid = le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_VALID; | 394 | cqe_valid = le32_to_cpu(cqe->flags_status_srcqpn) & OCRDMA_CQE_VALID; |
396 | return ((cqe_valid == cq->phase) ? 1 : 0); | 395 | return (cqe_valid == cq->phase); |
397 | } | 396 | } |
398 | 397 | ||
399 | static inline int is_cqe_for_sq(struct ocrdma_cqe *cqe) | 398 | static inline int is_cqe_for_sq(struct ocrdma_cqe *cqe) |