Re: [PATCH] platform/x86: thinkpad_acpi: Remove unreachable code in beep_read()
From: Ilpo Järvinen
Date: Mon Oct 05 2026 - 13:47:20 EST
On Mon, 07 Sep 2026 11:01:05 +0200, Thorsten Blum wrote:
> The procfs entry /proc/acpi/ibm/beep is only created if beep_init()
> succeeds, which requires beep_handle to be non-NULL. Remove the
> unreachable code branch from beep_read().
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.
FYI [if applicable to your patch], as per Linus' policy change, also
fixes are mostly routed through for-next unless the fix is for a
commit introduced in the most recent cycle or is clearly a regression
fix.
The list of commits applied:
[1/1] platform/x86: thinkpad_acpi: Remove unreachable code in beep_read()
commit: c48091a8ac16b0fd1e7ffed29f11c4e6ea1acbb4
--
i.