diff options
author | Michal Simek <michal.simek@amd.com> | 2024-08-01 10:01:30 +0200 |
---|---|---|
committer | Heiko Schocher <hs@denx.de> | 2024-08-09 14:46:05 +0200 |
commit | 6d06fdb93c13e3b989091918aaa60b04b347ab55 (patch) | |
tree | 51541f9d9cb2ca73b890cb11e432540288b1dc6f /tools/patman/patchstream.py | |
parent | 3c91589a14c9a39b0e0e440b5af4273b6147a8d2 (diff) |
i2c: mux: Fix error path in i2c-arb-gpio
There is no reason to use goto and just call return. Better is to call
return directly which is done for some if/else parts.
Also make no sense to setup ret to -ETIMEDOUT and then to 0.
Return timeout directly.
Signed-off-by: Michal Simek <michal.simek@amd.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
Diffstat (limited to 'tools/patman/patchstream.py')
0 files changed, 0 insertions, 0 deletions