IB/cxgb4: Make _free_qp static to silence build warning
authorBaoyou Xie <baoyou.xie@linaro.org>
Sun, 28 Aug 2016 14:57:11 +0000 (22:57 +0800)
committerDoug Ledford <dledford@redhat.com>
Fri, 2 Sep 2016 17:46:33 +0000 (13:46 -0400)
commit656aacea6c90ce8e15c2bdef4f89b74b73e2e34a
treef41f80898591df9eee5f1dc0b33b7e9796bc1349
parent63b268d232b869dfbc92e49c77f7e0648e1d039c
IB/cxgb4: Make _free_qp static to silence build warning

We get 1 warning when build kernel with W=1:
drivers/infiniband/hw/cxgb4/qp.c:686:6: warning: no previous prototype for '_free_qp' [-Wmissing-prototypes]

In fact, this function is only used in the file in which it is declared
and don't need a declaration, but can be made static.
so this patch marks it 'static'.

Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/qp.c