From: "Ilpo Järvinen" <ilpo.jarvinen@linux.intel.com>
To: mpearson-lenovo@squebb.ca, derekjohn.clark@gmail.com,
hmh@hmh.eng.br, hansg@kernel.org,
Eduardo Vasconcelos <eduardo@eduardovasconcelos.com>
Cc: platform-driver-x86@vger.kernel.org,
ibm-acpi-devel@lists.sourceforge.net,
linux-kernel@vger.kernel.org
Subject: Re: [PATCH] platform/x86: thinkpad_acpi: Remove unneeded goto
Date: Tue, 28 Apr 2026 19:06:03 +0300 [thread overview]
Message-ID: <177739236303.10973.18101852287173259208.b4-ty@linux.intel.com> (raw)
In-Reply-To: <20260425063936.9360-1-eduardo@eduardovasconcelos.com>
On Sat, 25 Apr 2026 03:39:34 -0300, Eduardo Vasconcelos wrote:
> Remove an unneeded goto statement in hotkey_kthread(). Since
> the function has a single exit location with no cleanup code,
> the jump provides no benefit. Per the kernel coding style,
> returning directly is preferred over goto in such case [1].
>
> [1] https://www.kernel.org/doc/html/latest/process/coding-style.html
>
> [...]
Thank you for your contribution, it has been applied to my local
review-ilpo-next branch. Note it will show up in the public
platform-drivers-x86/review-ilpo-next branch only once I've pushed my
local branch there, which might take a while.
The list of commits applied:
[1/1] platform/x86: thinkpad_acpi: Remove unneeded goto
commit: 74ab7c4d73d526bfebc6f3fd7382c6f672d8b912
--
i.
prev parent reply other threads:[~2026-04-28 16:06 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-04-25 6:39 Eduardo Vasconcelos
2026-04-25 12:49 ` Mark Pearson
2026-04-28 16:06 ` Ilpo Järvinen [this message]
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=177739236303.10973.18101852287173259208.b4-ty@linux.intel.com \
--to=ilpo.jarvinen@linux.intel.com \
--cc=derekjohn.clark@gmail.com \
--cc=eduardo@eduardovasconcelos.com \
--cc=hansg@kernel.org \
--cc=hmh@hmh.eng.br \
--cc=ibm-acpi-devel@lists.sourceforge.net \
--cc=linux-kernel@vger.kernel.org \
--cc=mpearson-lenovo@squebb.ca \
--cc=platform-driver-x86@vger.kernel.org \
/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
all inboxes | Powered by JetHome®