summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorLong Li <leo.lilong@huawei.com>2026-08-05 20:29:23 +0800
committerJens Axboe <axboe@kernel.dk>2026-08-15 20:01:19 -0600
commitfe247030f1ce74e6bb917e219fe152270613073d (patch)
treee84b89a80a159101dccbd6dbebe84049ede1b85b /scripts/Makefile.thinlto
parent1207dbb91c111e2422e94b2e75091367369e6476 (diff)
downloadlinux-stable-fe247030f1ce74e6bb917e219fe152270613073d.tar.gz
linux-stable-fe247030f1ce74e6bb917e219fe152270613073d.zip
nbd: simplify find_fallback() by removing redundant logic
The second conditional checking nsock->fallback_index validity is the logical inverse of the first, so drop it and let execution fall through naturally. Consolidate the two identical dev_err_ratelimited() + return paths into a single no_fallback label to reduce duplication. Reviewed-by: Yu Kuai <yukuai@fygo.io> Signed-off-by: Long Li <leo.lilong@huawei.com> Link: https://patch.msgid.link/20260805122930.57647-2-yangerkun@huawei.com Signed-off-by: Jens Axboe <axboe@kernel.dk>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions