xfrm: Make function xfrmi_get_link_net() static
authorWei Yongjun <weiyongjun1@huawei.com>
Sat, 28 Jul 2018 06:49:48 +0000 (06:49 +0000)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 29 Aug 2018 05:56:36 +0000 (07:56 +0200)
commit211d6f2dc883fe2235532d7ec4ed7e8222957ae0
tree4afc2c8390689fd707adb07e603919aeb95211e0
parent817e60a7a2bb1f22052f18562990d675cb3a3762
xfrm: Make function xfrmi_get_link_net() static

Fixes the following sparse warning:

net/xfrm/xfrm_interface.c:745:12: warning:
 symbol 'xfrmi_get_link_net' was not declared. Should it be static?

Fixes: f203b76d7809 ("xfrm: Add virtual xfrm interfaces")
Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_interface.c