Skip to content

Commit ccb0029

Browse files
Christoph HellwigAlexei Starovoitov
authored andcommitted
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 <[email protected]> Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Song Liu <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent 58ffa1b commit ccb0029

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

kernel/bpf/core.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2301,7 +2301,6 @@ static void bpf_prog_free_deferred(struct work_struct *work)
23012301
}
23022302
}
23032303

2304-
/* Free internal BPF program */
23052304
void bpf_prog_free(struct bpf_prog *fp)
23062305
{
23072306
struct bpf_prog_aux *aux = fp->aux;

0 commit comments

Comments
 (0)