diff options
author | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:03 -0400 |
---|---|---|
committer | Roland Dreier <rolandd@cisco.com> | 2008-04-17 00:01:03 -0400 |
commit | b39993936d3b192ea088995f7ba882a49e4bf09c (patch) | |
tree | 367480615b9c047a22b297cb310390b1fc8733f1 /drivers/infiniband/hw/mthca/mthca_eq.c | |
parent | 4b119e21d0c66c22e8ca03df05d9de623d0eb50f (diff) |
IB/mthca: Formatting cleanups
Fix a few whitespace and other coding style problems.
Signed-off-by: Roland Dreier <rolandd@cisco.com>
Diffstat (limited to 'drivers/infiniband/hw/mthca/mthca_eq.c')
-rw-r--r-- | drivers/infiniband/hw/mthca/mthca_eq.c | 4 |
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 | ||
235 | static inline struct mthca_eqe* next_eqe_sw(struct mthca_eq *eq) | 235 | static 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 | } |