aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoland Dreier <rolandd@cisco.com>2007-04-20 22:08:27 -0700
committerRoland Dreier <rolandd@cisco.com>2007-04-20 22:08:27 -0700
commitad85b50e66c1a4e03e871d93a20a281559f59b7c (patch)
tree67cd59c8ac20fc50d72c5f2a2311222350ee1d3b
parent3e44e8d14a32014587888247f07fb1d30488f198 (diff)
downloadlibmlx4-ad85b50e66c1a4e03e871d93a20a281559f59b7c.tar.gz
Remove inline keyword from wq_overflow()
Let the compiler decide whether it should be inlined. Signed-off-by: Roland Dreier <rolandd@cisco.com>
-rw-r--r--src/qp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qp.c b/src/qp.c
index d4cf962..bccb534 100644
--- a/src/qp.c
+++ b/src/qp.c
@@ -73,7 +73,7 @@ void mlx4_init_qp_indices(struct mlx4_qp *qp)
qp->rq.tail = 0;
}
-static inline int wq_overflow(struct mlx4_wq *wq, int nreq, struct mlx4_cq *cq)
+static int wq_overflow(struct mlx4_wq *wq, int nreq, struct mlx4_cq *cq)
{
unsigned cur;