Blob Blame History Raw
From: Christoph Hellwig <hch@lst.de>
Date: Fri, 19 Nov 2021 17:32:12 +0100
Subject: bpf: Remove a redundant comment on bpf_prog_free
Patch-mainline: v5.17-rc1
Git-commit: ccb00292eb2dbb58a55850639356d07630cd3c46
References: jsc#PED-1368

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
Acked-by: Shung-Hsi Yu <shung-hsi.yu@suse.com>
---
 kernel/bpf/core.c |    1 -
 1 file changed, 1 deletion(-)

--- a/kernel/bpf/core.c
+++ b/kernel/bpf/core.c
@@ -2301,7 +2301,6 @@ static void bpf_prog_free_deferred(struc
 	}
 }
 
-/* Free internal BPF program */
 void bpf_prog_free(struct bpf_prog *fp)
 {
 	struct bpf_prog_aux *aux = fp->aux;