summaryrefslogtreecommitdiff
path: root/scripts/Makefile.thinlto
diff options
context:
space:
mode:
authorTzung-Bi Shih <tzungbi@kernel.org>2026-08-19 05:11:47 +0000
committerTzung-Bi Shih <tzungbi@kernel.org>2026-09-04 07:54:11 +0000
commit7b6344a49cf5fed1879ee5c125d01a2535fbd725 (patch)
tree0fce340281136373cc6c21fc84306a510045fac9 /scripts/Makefile.thinlto
parentc55749415623a58eba3eb527da023d29b43fbf5d (diff)
downloadlinux-next-7b6344a49cf5fed1879ee5c125d01a2535fbd725.tar.gz
linux-next-7b6344a49cf5fed1879ee5c125d01a2535fbd725.zip
platform/chrome: cros_ec_proto: Simplify cros_ec_wait_until_complete()
There is no need to defer the return out of the loop. Replace the `break` with an immediate `return -EPROTO`. With the `break` removed, execution only reaches the end of the function if it exhausts all EC_COMMAND_RETRIES. The post-loop check is therefore redundant and replaced with an unconditional `return -EAGAIN`. Signed-off-by: Tzung-Bi Shih <tzungbi@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions