aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/bpf/core.c
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2021-11-19 17:32:12 +0100
committerAlexei Starovoitov <ast@kernel.org>2021-11-30 10:52:11 -0800
commitccb00292eb2dbb58a55850639356d07630cd3c46 (patch)
tree12466d584e6b4d8add7983e89d8ecba8a7fd0241 /kernel/bpf/core.c
parentx86, bpf: Cleanup the top of file header in bpf_jit_comp.c (diff)
downloadlinux-dev-ccb00292eb2dbb58a55850639356d07630cd3c46.tar.xz
linux-dev-ccb00292eb2dbb58a55850639356d07630cd3c46.zip
bpf: Remove a redundant comment on bpf_prog_free
The comment telling that the prog_free helper is freeing the program is not exactly useful, so just remove it. Signed-off-by: Christoph Hellwig <hch@lst.de> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Song Liu <songliubraving@fb.com> Link: https://lore.kernel.org/bpf/20211119163215.971383-3-hch@lst.de
Diffstat (limited to 'kernel/bpf/core.c')
-rw-r--r--kernel/bpf/core.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c
index b52dc845ecea..189d85d64bf1 100644
--- a/kernel/bpf/core.c
+++ b/kernel/bpf/core.c
@@ -2301,7 +2301,6 @@ static void bpf_prog_free_deferred(struct work_struct *work)
}
}
-/* Free internal BPF program */
void bpf_prog_free(struct bpf_prog *fp)
{
struct bpf_prog_aux *aux = fp->aux;