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

From: Alexander Shishkin

Date: Mon Jan 26 2026 - 01:34:14 EST


Thorsten Blum <thorsten.blum@xxxxxxxxx> 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