summaryrefslogtreecommitdiff
path: root/scripts/lib/kdoc/kdoc_files.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@linaro.org>2024-07-04 18:19:19 +0300
committerDaniel Borkmann <daniel@iogearbox.net>2024-07-08 17:23:19 +0300
commitbc239eb271e5f35fcade689c6782c962ef3704c8 (patch)
treeb75f72c985bc8abe96bcd68c25d7321dedd73155 /scripts/lib/kdoc/kdoc_files.py
parenta5912c37faf723c0812a6a2c9dd18ffbd34a233b (diff)
downloadlinux-bc239eb271e5f35fcade689c6782c962ef3704c8.tar.xz
bpf: Remove unnecessary loop in task_file_seq_get_next()
After commit 0ede61d8589c ("file: convert to SLAB_TYPESAFE_BY_RCU") this loop always iterates exactly one time. Delete the for statement and pull the code in a tab. Signed-off-by: Dan Carpenter <dan.carpenter@linaro.org> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Reviewed-by: Christian Brauner <brauner@kernel.org> Acked-by: Jiri Olsa <jolsa@kernel.org> Acked-by: Yonghong Song <yonghong.song@linux.dev> Link: https://lore.kernel.org/bpf/ZoWJF51D4zWb6f5t@stanley.mountain
Diffstat (limited to 'scripts/lib/kdoc/kdoc_files.py')
0 files changed, 0 insertions, 0 deletions