bpf: make function xdp_do_generic_redirect_map() static
authorXiongwei Song <sxwjean@gmail.com>
Mon, 18 Dec 2017 23:17:15 +0000 (07:17 +0800)
committerDaniel Borkmann <daniel@iogearbox.net>
Tue, 19 Dec 2017 00:37:16 +0000 (01:37 +0100)
commitc060bc6115b6a204cb60e6b03fe64135731bc6c8
tree1a0c6ef160a963fabd2bed465e5fca1786337a26
parent4ca998fe46b1fce4988005851df2c85b7bf2addf
bpf: make function xdp_do_generic_redirect_map() static

The function xdp_do_generic_redirect_map() is only used in this file, so
make it static.

Clean up sparse warning:
net/core/filter.c:2687:5: warning: no previous prototype
for 'xdp_do_generic_redirect_map' [-Wmissing-prototypes]

Signed-off-by: Xiongwei Song <sxwjean@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
net/core/filter.c