diff options
author | Daniel Borkmann <daniel@iogearbox.net> | 2016-05-13 17:08:26 (GMT) |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2016-05-16 17:49:31 (GMT) |
commit | 4936e3528e3e272c567fe4ff0abb7ce3e1500575 (patch) | |
tree | fe605512827310535b99290d24ccc9fe0c57afef /kernel | |
parent | 553eb544444e28749e2d752dee11e2ae4a3ecfb6 (diff) | |
download | linux-4936e3528e3e272c567fe4ff0abb7ce3e1500575.tar.xz |
bpf: minor cleanups in ebpf code
Besides others, remove redundant comments where the code is self
documenting enough, and properly indent various bpf_verifier_ops
and bpf_prog_type_list declarations. Moreover, remove two exports
that actually have no module user.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/bpf/core.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index d781b07..5313d09 100644 --- a/kernel/bpf/core.c +++ b/kernel/bpf/core.c @@ -129,14 +129,12 @@ struct bpf_prog *bpf_prog_realloc(struct bpf_prog *fp_old, unsigned int size, return fp; } -EXPORT_SYMBOL_GPL(bpf_prog_realloc); void __bpf_prog_free(struct bpf_prog *fp) { kfree(fp->aux); vfree(fp); } -EXPORT_SYMBOL_GPL(__bpf_prog_free); #ifdef CONFIG_BPF_JIT struct bpf_binary_header * |