diff options
author | Alexei Starovoitov <ast@kernel.org> | 2023-07-05 20:34:35 -0700 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2023-07-12 23:45:22 +0200 |
commit | a80672d7e10edab757e771a1864ea2e1b9a31ac9 (patch) | |
tree | 4e5c74f01e29e5314bbdb0227ca8546d11bd5bde /samples/vfs | |
parent | 12c8d0f4c8702f88a74973fb7ced85b59043b0ab (diff) |
bpf: Simplify code of destroy_mem_alloc() with kmemdup().
Use kmemdup() to simplify the code.
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Hou Tao <houtao1@huawei.com>
Link: https://lore.kernel.org/bpf/20230706033447.54696-3-alexei.starovoitov@gmail.com
Diffstat (limited to 'samples/vfs')
0 files changed, 0 insertions, 0 deletions