]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
bpf: Remove copy_register_state wrapper function
authorYonghong Song <yonghong.song@linux.dev>
Wed, 13 May 2026 04:50:00 +0000 (21:50 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 13 May 2026 16:27:30 +0000 (09:27 -0700)
commit1cb229a54af1e36f19f7e8359692fa0d76fbc360
tree41046aff87ef8ba0627e7f40244a78afe8a43c41
parentede2dc5c6b571ce6d3aacf5a81933f8c5d5e6c7d
bpf: Remove copy_register_state wrapper function

Remove the copy_register_state() helper which was just a plain struct
assignment wrapper and replace all call sites with direct struct
assignment. This simplifies the code in preparation for upcoming stack
argument support.

No functional change.

Signed-off-by: Yonghong Song <yonghong.song@linux.dev>
Link: https://lore.kernel.org/r/20260513045000.2382933-1-yonghong.song@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
kernel/bpf/verifier.c