OpenCloudOS-Kernel/drivers/net/netdevsim
Colin Ian King 1dfc266397 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>
2017-12-05 14:38:08 -05:00
..
Makefile
bpf.c netdevsim: make functions nsim_bpf_create_prog and nsim_bpf_destroy_prog static 2017-12-05 14:38:08 -05:00
netdev.c netdevsim: add SR-IOV functionality 2017-12-03 00:27:58 +01:00
netdevsim.h netdevsim: add SR-IOV functionality 2017-12-03 00:27:58 +01:00