diff options
author | Christoph Hellwig | 2021-11-19 17:32:12 +0100 |
---|---|---|
committer | Alexei Starovoitov | 2021-11-30 10:52:11 -0800 |
commit | ccb00292eb2dbb58a55850639356d07630cd3c46 (patch) | |
tree | 12466d584e6b4d8add7983e89d8ecba8a7fd0241 /kernel/bpf | |
parent | 58ffa1b413690dbfdea86c068510339fe1573c33 (diff) |
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
Diffstat (limited to 'kernel/bpf')
-rw-r--r-- | kernel/bpf/core.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/bpf/core.c b/kernel/bpf/core.c index b52dc845ecea..189d85d64bf1 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; |