Re: [PATCH 8/9] iio: light: tsl2583: remove conditional return with no effect
Brian Masney <[email protected]>
| Newsgroups | org.kernel.vger.linux-iio,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On Tue, Jul 28, 2026 at 03:47:45AM +0900, Sang-Heon Jeon wrote: > Both branches of the check return the same value, so the check has no > effect. Remove it and return the value directly. > > This is the result of running the Coccinelle script from > scripts/coccinelle/misc/cond_return_no_effect.cocci. > > Signed-off-by: Sang-Heon Jeon <[email protected]> > Reviewed-by: Joshua Crofts <[email protected]> Reviewed-by: Brian Masney <[email protected]>