mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Justin Vargas <justinyvar@gmail.com>
To: ilpo.jarvinen@linux.intel.com, hansg@kernel.org, jlee@suse.com,
	corentin.chary@gmail.com, luke@ljones.dev,
	denis.benato@linux.dev
Cc: W_Armin@gmx.de, krishna.chomal108@gmail.com,
	platform-driver-x86@vger.kernel.org,
	linux-kernel@vger.kernel.org,
	Justin Vargas <justinyvar@gmail.com>
Subject: [PATCH v2 0/3] platform/x86: Remove unused platform_profile_support variables
Date: Sun, 20 Sep 2026 22:17:17 -0400	[thread overview]
Message-ID: <20260921021720.5976-1-justinyvar@gmail.com> (raw)

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


             reply	other threads:[~2026-09-21  2:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2026-09-21  2:17 Justin Vargas [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20260921021720.5976-1-justinyvar@gmail.com \
    --to=justinyvar@gmail.com \
    --cc=W_Armin@gmx.de \
    --cc=corentin.chary@gmail.com \
    --cc=denis.benato@linux.dev \
    --cc=hansg@kernel.org \
    --cc=ilpo.jarvinen@linux.intel.com \
    --cc=jlee@suse.com \
    --cc=krishna.chomal108@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=luke@ljones.dev \
    --cc=platform-driver-x86@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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®