From: Alexander Shishkin <alexander.shishkin@linux.intel.com>
To: Thorsten Blum <thorsten.blum@linux.dev>,
Maxime Coquelin <mcoquelin.stm32@gmail.com>,
Alexandre Torgue <alexandre.torgue@foss.st.com>
Cc: Thorsten Blum <thorsten.blum@linux.dev>,
linux-stm32@st-md-mailman.stormreply.com,
linux-arm-kernel@lists.infradead.org,
linux-kernel@vger.kernel.org, alexander.shishkin@linux.intel.com
Subject: Re: [PATCH RESEND] stm class: Remove unnecessary local variable in stm_write
Date: Mon, 26 Jan 2026 07:33:18 +0100 [thread overview]
Message-ID: <83v7goano1.fsf@black.igk.intel.com> (raw)
In-Reply-To: <20260126004312.210402-2-thorsten.blum@linux.dev>
Thorsten Blum <thorsten.blum@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
next prev parent reply other threads:[~2026-01-26 6:33 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-01-26 0:43 [PATCH RESEND] stm class: Remove unnecessary local variable in stm_write Thorsten Blum
2026-01-26 6:33 ` Alexander Shishkin [this message]
2026-01-26 7:55 ` Thorsten Blum
-- strict thread matches above, loose matches on Subject: below --
2026-03-18 0:25 Thorsten Blum
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83v7goano1.fsf@black.igk.intel.com \
--to=alexander.shishkin@linux.intel.com \
--cc=alexandre.torgue@foss.st.com \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-stm32@st-md-mailman.stormreply.com \
--cc=mcoquelin.stm32@gmail.com \
--cc=thorsten.blum@linux.dev \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox