lwt_bpf: bpf_lwt_prog_cmp() can be static
authorWei Yongjun <weiyongjun1@huawei.com>
Thu, 12 Jan 2017 14:39:28 +0000 (14:39 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 12 Jan 2017 15:04:40 +0000 (10:04 -0500)
commit79471b10d67a52f5b3744d2e14c06437a65746f2
tree64d6310bb2f6621661640d3d17e5bf1e8b7bf9e8
parent5df285f6a9221ef5584eff234ea2848370067923
lwt_bpf: bpf_lwt_prog_cmp() can be static

Fixes the following sparse warning:

net/core/lwt_bpf.c:355:5: warning:
 symbol 'bpf_lwt_prog_cmp' was not declared. Should it be static?

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/core/lwt_bpf.c