diff options
| author | 2026-08-09 14:59:59 +0200 | |
|---|---|---|
| committer | 2026-10-14 13:17:23 -0400 | |
| commit | c685b0b76395c74b8b715d1c0fc33bbebd69bc73 (patch) | |
| tree | 279040a669dad78c1b53eb19738604f7dc82bc14 /scripts/Makefile.thinlto | |
| parent | Bluetooth: bnep: refactor deprecated strcpy (diff) | |
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/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
