mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH v2 0/3] platform/x86: Remove unused platform_profile_support variables
@ 2026-09-21  2:17 Justin Vargas
  2026-09-21  2:17 ` [PATCH v2 1/3] platform/x86: acer-wmi: Remove unused platform_profile_support variable Justin Vargas
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Justin Vargas @ 2026-09-21  2:17 UTC (permalink / raw)
  To: ilpo.jarvinen, hansg, jlee, corentin.chary, luke, denis.benato
  Cc: W_Armin, krishna.chomal108, platform-driver-x86, linux-kernel,
	Justin Vargas

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2026-09-21  2:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-09-21  2:17 [PATCH v2 0/3] platform/x86: Remove unused platform_profile_support variables Justin Vargas
2026-09-21  2:17 ` [PATCH v2 1/3] platform/x86: acer-wmi: Remove unused platform_profile_support variable Justin Vargas
2026-09-21  2:17 ` [PATCH v2 2/3] platform/x86: asus-wmi: Remove unused platform_profile_support member Justin Vargas
2026-09-21  2:20 ` [PATCH v2 3/3] platform/x86: hp-wmi: Remove unused platform_profile_support variable Justin Vargas

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®