[RFC PATCH] bpf: __bpf_iter__netlink() can be static

kbuild test robot
2020-04-28T19:50:44Z

Signed-off-by: kbuild test robot <lkp@intel.com>
---
af_netlink.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/netlink/af_netlink.c b/net/netlink/af_netlink.c
index b6192cd668013..b8c9a87bd3960 100644
--- a/net/netlink/af_netlink.c
+++ b/net/netlink/af_netlink.c
@@ -2640,7 +2640,7 @@ struct bpf_iter__netlink {
__bpf_md_ptr(struct netlink_sock *, sk);
};

-int __init __bpf_iter__netlink(struct bpf_iter_meta *meta, struct netlink_sock *sk)
+static int __init __bpf_iter__netlink(struct bpf_iter_meta *meta, struct netlink_sock *sk)
{
return 0;
}