diff options
author | Alexei Starovoitov <[email protected]> | 2023-07-05 20:34:35 -0700 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2023-07-12 23:45:22 +0200 |
commit | a80672d7e10edab757e771a1864ea2e1b9a31ac9 (patch) | |
tree | 4e5c74f01e29e5314bbdb0227ca8546d11bd5bde /drivers/fpga/fpga-mgr.c | |
parent | 12c8d0f4c8702f88a74973fb7ced85b59043b0ab (diff) |
bpf: Simplify code of destroy_mem_alloc() with kmemdup().
Use kmemdup() to simplify the code.
Signed-off-by: Alexei Starovoitov <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Hou Tao <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions