Re: [PATCH][next] netdevsim: make functions nsim_bpf_create_prog and nsim_bpf_destroy_prog static

From: David Miller
Date: Tue Dec 05 2017 - 14:38:35 EST


From: Colin King <colin.king@xxxxxxxxxxxxx>
Date: Mon, 4 Dec 2017 12:56:09 +0000

> From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
>
> 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@xxxxxxxxxxxxx>

Applied, thanks.