[PATCH RESEND] stm class: Remove unnecessary local variable in stm_write

Alexander Shishkin alexander.shishkin at linux.intel.com
Sun Jan 25 22:33:18 PST 2026


Thorsten Blum <thorsten.blum at linux.dev> writes:

> The local variable 'err' and the corresponding if check in stm_write()
> are unnecessary. Remove them.

Nice catch! Is this a result of manual code inspection or were any tools
used, an AI agent or a coccinelle script or whatnot?

Thanks,
--
Alex



More information about the linux-arm-kernel mailing list