From: Greg KH <gregkh@linuxfoundation.org>
To: Breno Rodrigues Alves <breno3011alves@gmail.com>
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
arnd@arndb.de, linux-clk@vger.kernel.org,
linux-input@vger.kernel.org, linux-media@vger.kernel.org,
linux-pci@vger.kernel.org, linux-usb@vger.kernel.org,
linux-sound@vger.kernel.org, linux-staging@lists.linux.dev,
linux-fbdev@vger.kernel.org,
linux-security-module@vger.kernel.org
Subject: Re: [PATCH] Kconfig: purge twenty-nine legacy ghost options
Date: Sat, 5 Sep 2026 13:29:11 +0200 [thread overview]
Message-ID: <2026090551-abrasion-fool-3586@gregkh> (raw)
In-Reply-To: <20260904231240.87106-1-breno3011alves@gmail.com>
On Fri, Sep 04, 2026 at 08:12:40PM -0300, Breno Rodrigues Alves wrote:
> You can keep a dead config option around for a while out of sympathy.
> After a couple of releases it stops being "transitional" and starts
> being "you are confusing every user who greps for it". These options
> select nothing, gate nothing, and -- I checked by hand, this is not a
> regex accident -- are referenced by exactly nobody in the tree.
>
> Evidence for each removal:
> * no CONFIG_<sym> reference outside the Kconfig definition itself
> * no <sym> reference as an 'if'/'select'/'depends on' target
> * no mention in any defconfig, any Documentation, or any source build
> * the code they used to gate is gone (removed or folded into a real
> driver that already has its own, functioning config symbol)
>
> Headliners of the graveyard:
> - HID_THINGM: help text literally said "will be removed soon". Well.
> Gone now. The blink(1) driver is HJID_LED.
> - USB_CONFIGFS_F_TCM: the real fabric always built via USB_F_TCM; the
> "CONFIGFS" name was a leftover from when someone could not decide
> what to call the thing.
> - USB_EHCI_TEGRA, USB_OCTEON_OHCI, USB_OHCI_HCD_SSB: help text says
> "driver was removed, use X instead". The other X already exists.
> - PANEL: proudly labeled "OLD OPTION" with its own "Deprecated
> options" section in the file. The actual parport lcd driver has
> always been PARPORT_PANEL.
> - COMMON_CLK_MT6765_*: seven sysclk entries with no matching object
> in the Makefile. Zero files built, zero regrets.
> - The usual kconfig-vandalism suspects (HAVE_PWRCTL, REGULATOR_MT6316,
> INTERCONNECT_MTK_MT8196, CLK_SUNXI_PRCM_SUN9I, DVB_ULE_DEBUG, ...).
>
> Validated: defconfig, olddefconfig and randconfig parse clean on both
> x86_64 and arm64; headers_install (the target that replaced the dearly
> departed headers_check, which this tree does not have) succeeds with a
> clean UAPI on both architectures. Because someone will ask: yes, I
> checked the s390/arm/riscv No, I did not delete any arch/* Kconfig, and
> no, I did not touch a single include/uapi/ file.
>
> Why should you care? Because "make menuconfig" allegedly lets people
> configure the kernel, and leaving a menu full of options that do
> nothing makes them feel like they have a choice when they really are
> just being sold snake oil. Clean it up.
>
> Signed-off-by: Breno Rodrigues Alves <breno3011alves@gmail.com>
Did you forget the Assisted-by: tag here?
ANd this should be broken up per subsystem please.
thanks,
greg k-h
prev parent reply other threads:[~2026-09-05 11:30 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-04 23:12 [PATCH] Kconfig: purge twenty-nine legacy ghost options Breno Rodrigues Alves
2026-09-05 9:46 ` Arnd Bergmann
2026-09-05 11:29 ` Greg KH [this message]
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=2026090551-abrasion-fool-3586@gregkh \
--to=gregkh@linuxfoundation.org \
--cc=arnd@arndb.de \
--cc=breno3011alves@gmail.com \
--cc=linux-clk@vger.kernel.org \
--cc=linux-fbdev@vger.kernel.org \
--cc=linux-input@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
--cc=linux-pci@vger.kernel.org \
--cc=linux-security-module@vger.kernel.org \
--cc=linux-sound@vger.kernel.org \
--cc=linux-staging@lists.linux.dev \
--cc=linux-usb@vger.kernel.org \
--cc=torvalds@linux-foundation.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