[PATCH][next] i3c: master: Remove ternary operator on return statement
Wolfram Sang
wsa+renesas at sang-engineering.com
Sun Sep 14 14:36:56 PDT 2025
On Tue, Sep 02, 2025 at 02:52:39PM +0100, Colin Ian King wrote:
> The value of ret at the end of the function renesas_i3c_daa
> is always zero since previous checks for less than zero have already
> exited via return paths. Hence the final ternary operator checking
> for a less than zero value for ret is redundant and can be removed.
>
> Signed-off-by: Colin Ian King <colin.i.king at gmail.com>
Already sent (and applied just today):
https://lore.kernel.org/r/20250803211256.18513-2-wsa+renesas@sang-engineering.com
More information about the linux-i3c
mailing list