Message ID | 20211119163215.971383-3-hch@lst.de (mailing list archive) |
---|---|
State | Accepted |
Delegated to: | BPF |
Headers | show |
Series | [1/5] x86, bpf: cleanup the top of file header in bpf_jit_comp.c | expand |
Context | Check | Description |
---|---|---|
bpf/vmtest-bpf-PR | fail | merge-conflict |
bpf/vmtest-bpf-next-PR | success | PR summary |
bpf/vmtest-bpf-next | success | VM_Test |
netdev/tree_selection | success | Guessing tree name failed - patch did not apply, async |
On Fri, Nov 19, 2021 at 8:32 AM Christoph Hellwig <hch@lst.de> wrote: > > 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> Acked-by: Song Liu <songliubraving@fb.com>
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index b52dc845ecea3..189d85d64bf1c 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;
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> --- kernel/bpf/core.c | 1 - 1 file changed, 1 deletion(-)