diff options
author | 2016-08-28 22:57:11 +0800 | |
---|---|---|
committer | 2016-09-02 13:46:33 -0400 | |
commit | 656aacea6c90ce8e15c2bdef4f89b74b73e2e34a (patch) | |
tree | f41f80898591df9eee5f1dc0b33b7e9796bc1349 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/isert: Properly release resources on DEVICE_REMOVAL (diff) | |
download | linux-dev-656aacea6c90ce8e15c2bdef4f89b74b73e2e34a.tar.xz linux-dev-656aacea6c90ce8e15c2bdef4f89b74b73e2e34a.zip |
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 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions