]> git.karo-electronics.de Git - karo-tx-linux.git/commit
RDMA/IPoIB: Limit the ipoib_dev_uninit_default scope
authorLeon Romanovsky <leonro@mellanox.com>
Sun, 14 May 2017 10:32:06 +0000 (13:32 +0300)
committerDoug Ledford <dledford@redhat.com>
Thu, 1 Jun 2017 21:20:10 +0000 (17:20 -0400)
commit0a1a972630c77edb39adf310699e404b8bf9176e
tree3e1eb0576989e4c87e7969bef77763ba574dce4c
parent8c490669deb0133dfb6bfe7a80d7cfef3bbbd92f
RDMA/IPoIB: Limit the ipoib_dev_uninit_default scope

ipoib_dev_uninit_default() call is used in ipoib_main.c file only
and it generates the following warning from smatch tool:
drivers/infiniband/ulp/ipoib/ipoib_main.c:1593:6: warning:
symbol 'ipoib_dev_uninit_default' was not declared. Should it
be static?

so let's declare that function as static.

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/ulp/ipoib/ipoib_main.c