Re: [PATCH] Bluetooth: btmrvl: Slightly simplify btmrvl_process_event()
| Newsgroups | gmane.linux.kernel,gmane.linux.kernel.janitors,gmane.linux.bluez.kernel |
|---|---|
| Message-ID | <178647901638.1134064.11068841351283919495.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to bluetooth/bluetooth-next.git (master) by Luiz Augusto von Dentz <[email protected]>: On Sun, 9 Aug 2026 14:59:59 +0200 you wrote: > 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. > > [...] Here is the summary with links: - Bluetooth: btmrvl: Slightly simplify btmrvl_process_event() https://git.kernel.org/bluetooth/bluetooth-next/c/b2d457736260 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html