diff options
| author | Christophe JAILLET <christophe.jaillet@wanadoo.fr> | 2026-08-09 14:59:59 +0200 |
|---|---|---|
| committer | Luiz Augusto von Dentz <luiz.von.dentz@intel.com> | 2026-08-11 15:40:01 -0400 |
| commit | b2d4577362602b2191bccfe84e469a676c574d21 (patch) | |
| tree | 54edbbba34339474e7ee8426e396a3e5d7d683a8 /scripts/objdiff | |
| parent | 6d5e3062ef688af0371fa5272cea3bde4c0e6138 (diff) | |
| download | linux-next-b2d4577362602b2191bccfe84e469a676c574d21.tar.gz linux-next-b2d4577362602b2191bccfe84e469a676c574d21.zip | |
Bluetooth: btmrvl: Slightly simplify btmrvl_process_event()
In btmrvl_process_event(), all error handling paths except one do a direct
return. Update the only one that makes a goto to be consistent.
This does not change the behavior because ret is known to be != 0 when
'exit' is reached.
This simplifies the code, saves 2 LoC and pleases one of my coccinelle
script that tries to spot erroneously mixed goto and return statements.
Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/objdiff')
0 files changed, 0 insertions, 0 deletions
