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

Justin Vargas posted 3 patches 3 days, 17 hours ago
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(-)
[PATCH v2 0/3] platform/x86: Remove unused platform_profile_support variables
Posted by Justin Vargas 3 days, 17 hours ago
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@gmail.com

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