[PATCH v2 0/3] platform/x86: Remove unused platform_profile_support variables

From: Justin Vargas

Date: Sun Sep 20 2026 - 22:18:44 EST


acer-wmi, asus-wmi and hp-wmi each set a platform_profile_support flag
once their platform profile handler is registered, but none of them ever
reads it. Remove all three, one patch per driver.

Compile tested only, as these are pure dead-code removals.

v2:
- Extend to asus-wmi and hp-wmi, one patch per driver, as requested
by Ilpo.
- Rebase onto review-ilpo-next.
v1: https://lore.kernel.org/r/20260902193039.21725-1-justinyvar@xxxxxxxxx

These patches were prepared with AI assistance (see the Assisted-by
trailers). I compile tested them and take responsibility for them as
signed off.

Justin Vargas (3):
platform/x86: acer-wmi: Remove unused platform_profile_support
variable
platform/x86: asus-wmi: Remove unused platform_profile_support member
platform/x86: hp-wmi: Remove unused platform_profile_support variable

drivers/platform/x86/acer-wmi.c | 3 ---
drivers/platform/x86/asus-wmi.c | 2 --
drivers/platform/x86/hp/hp-wmi.c | 2 --
3 files changed, 7 deletions(-)


base-commit: f475845eaf3d749114a63270bf2efea459e14dd2
--
2.47.3