]> asedeno.scripts.mit.edu Git - linux.git/commit
netdevsim: make functions nsim_bpf_create_prog and nsim_bpf_destroy_prog static
authorColin Ian King <colin.king@canonical.com>
Mon, 4 Dec 2017 12:56:09 +0000 (12:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 5 Dec 2017 19:38:08 +0000 (14:38 -0500)
commit1dfc2663977b086c9592ce50e6d001cff195eba2
tree4420c8800a983f04b568523c18e08209be3cd062
parent75223d81164b90c0a2af078b227e768d6f4751c1
netdevsim: make functions nsim_bpf_create_prog and nsim_bpf_destroy_prog static

Functions nsim_bpf_create_prog and nsim_bpf_destroy_prog are local to the
source and do not need to be in global scope, so make them static.

Cleans up sparse warnings:
symbol 'nsim_bpf_create_prog' was not declared. Should it be static?
symbol 'nsim_bpf_destroy_prog' was not declared. Should it be static?

Signed-off-by: Colin Ian King <colin.king@canonical.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netdevsim/bpf.c