bpf: Remove a redundant comment on bpf_prog_free
authorChristoph Hellwig <hch@lst.de>
Fri, 19 Nov 2021 16:32:12 +0000 (17:32 +0100)
committerAlexei 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

index b52dc84..189d85d 100644 (file)
@@ -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;