aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/mthca/mthca_eq.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_eq.c')
-rw-r--r--drivers/infiniband/hw/mthca/mthca_eq.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/infiniband/hw/mthca/mthca_eq.c b/drivers/infiniband/hw/mthca/mthca_eq.c
index b60eb5df96e8..8bde7f98e58a 100644
--- a/drivers/infiniband/hw/mthca/mthca_eq.c
+++ b/drivers/infiniband/hw/mthca/mthca_eq.c
@@ -232,9 +232,9 @@ static inline struct mthca_eqe *get_eqe(struct mthca_eq *eq, u32 entry)
232 return eq->page_list[off / PAGE_SIZE].buf + off % PAGE_SIZE; 232 return eq->page_list[off / PAGE_SIZE].buf + off % PAGE_SIZE;
233} 233}
234 234
235static inline struct mthca_eqe* next_eqe_sw(struct mthca_eq *eq) 235static inline struct mthca_eqe *next_eqe_sw(struct mthca_eq *eq)
236{ 236{
237 struct mthca_eqe* eqe; 237 struct mthca_eqe *eqe;
238 eqe = get_eqe(eq, eq->cons_index); 238 eqe = get_eqe(eq, eq->cons_index);
239 return (MTHCA_EQ_ENTRY_OWNER_HW & eqe->owner) ? NULL : eqe; 239 return (MTHCA_EQ_ENTRY_OWNER_HW & eqe->owner) ? NULL : eqe;
240} 240}