summaryrefslogtreecommitdiff
path: root/scripts/dummy-tools/python3
diff options
context:
space:
mode:
authorTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-04-29 18:34:42 +0900
committerTakashi Sakamoto <o-takashi@sakamocchi.jp>2026-04-29 20:30:33 +0900
commite05a76ae1507d19d62eb0011592be9efb42e06cd (patch)
tree452ef0c1046bb112e7629a192ac527685ed9d797 /scripts/dummy-tools/python3
parent254f49634ee16a731174d2ae34bc50bd5f45e731 (diff)
firewire: core: code refactoring for early return at client resource allocation
The add_client_resource() function returns zero at success or negative value at error. The critical section is already protected by scoped_guard() macro. In this case, the programming pattern of early return improves code readability. Link: https://lore.kernel.org/r/20260429093449.160545-2-o-takashi@sakamocchi.jp Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'scripts/dummy-tools/python3')
0 files changed, 0 insertions, 0 deletions