Skip to content

platform/x86: Remove unused platform_profile_support variables

Justin Vargas lkml platform-driver-x86 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest3 patches 1 replyIn review
  2. v11 patch 1 replySuperseded

Changes in v2 from the cover letter

- 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/[email protected]

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3platform/x86: acer-wmi: Remove unused platform_profile_support variabledrivers/platform/x86/acer-wmi.c+0 -30 replies
2/3platform/x86: asus-wmi: Remove unused platform_profile_support memberdrivers/platform/x86/asus-wmi.c+0 -20 replies
3/3platform/x86: hp-wmi: Remove unused platform_profile_support variabledrivers/platform/x86/hp/hp-wmi.c+0 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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/[email protected]

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

Signature · 1 line
2.47.3