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
This commit is contained in:
committed by
Alexei Starovoitov
parent
58ffa1b413
commit
ccb00292eb
@@ -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)
|
void bpf_prog_free(struct bpf_prog *fp)
|
||||||
{
|
{
|
||||||
struct bpf_prog_aux *aux = fp->aux;
|
struct bpf_prog_aux *aux = fp->aux;
|
||||||
|
|||||||
Reference in New Issue
Block a user