]> git.openfabrics.org - ~shefty/libmlx4.git/commitdiff
Remove inline keyword from wq_overflow()
authorRoland Dreier <rolandd@cisco.com>
Sat, 21 Apr 2007 05:08:27 +0000 (22:08 -0700)
committerRoland Dreier <rolandd@cisco.com>
Sat, 21 Apr 2007 05:08:27 +0000 (22:08 -0700)
Let the compiler decide whether it should be inlined.

Signed-off-by: Roland Dreier <rolandd@cisco.com>
src/qp.c

index d4cf962b0c98c03d576fea23ccf9341d511fefa1..bccb534d1ee67439078e06827d38bb920714a49d 100644 (file)
--- 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;