projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58ffa1b
)
bpf: Remove a redundant comment on bpf_prog_free
author
Christoph Hellwig
<hch@lst.de>
Fri, 19 Nov 2021 16:32:12 +0000
(17:32 +0100)
committer
Alexei Starovoitov
<ast@kernel.org>
Tue, 30 Nov 2021 18:52:11 +0000
(10:52 -0800)
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
kernel/bpf/core.c
patch
|
blob
|
history
diff --git
a/kernel/bpf/core.c
b/kernel/bpf/core.c
index
b52dc84
..
189d85d
100644
(file)
--- 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;