diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-08-28 17:57:11 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-09-02 20:46:33 +0300 |
commit | 656aacea6c90ce8e15c2bdef4f89b74b73e2e34a (patch) | |
tree | f41f80898591df9eee5f1dc0b33b7e9796bc1349 /drivers/infiniband/core/multicast.c | |
parent | 63b268d232b869dfbc92e49c77f7e0648e1d039c (diff) | |
download | linux-656aacea6c90ce8e15c2bdef4f89b74b73e2e34a.tar.xz |
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>
Diffstat (limited to 'drivers/infiniband/core/multicast.c')
0 files changed, 0 insertions, 0 deletions