aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorJinjie Ruan <ruanjinjie@huawei.com>2023-08-30 16:59:29 +0800
committerIlya Dryomov <idryomov@gmail.com>2023-08-30 11:51:55 +0200
commitcd59cdefc2f101bfc99ee5bd38512ebba7b75471 (patch)
treefff59f779435d0854afdd3082e83813063e37d42 /scripts/generate_rust_analyzer.py
parentlibceph: do not include crypto/algapi.h (diff)
downloadlinux-rng-cd59cdefc2f101bfc99ee5bd38512ebba7b75471.tar.xz
linux-rng-cd59cdefc2f101bfc99ee5bd38512ebba7b75471.zip
rbd: use list_for_each_entry() helper
Convert list_for_each() to list_for_each_entry() so that the tmp list_head pointer and list_entry() call are no longer needed, which can reduce a few lines of code. No functional changed. Signed-off-by: Jinjie Ruan <ruanjinjie@huawei.com> Reviewed-by: Ilya Dryomov <idryomov@gmail.com> Signed-off-by: Ilya Dryomov <idryomov@gmail.com>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions