linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Jonathan Corbet <corbet@lwn.net>
To: linux-kernel@vger.kernel.org
Cc: Jonathan Corbet <corbet@lwn.net>
Subject: [PATCH 0/9] Remove some unused header files
Date: Tue,  2 Nov 2021 16:01:54 -0600	[thread overview]
Message-ID: <20211102220203.940290-1-corbet@lwn.net> (raw)

While working on something totally different, it occurred to me to wonder
which header files in the kernel are not used anywhere.  Writing a little
program to figure that out in Rust was the perfect distriction from the
work I really needed to be doing...  It turns out there aren't many under
include/linux; this gets rid of the ones I found.

Jonathan Corbet (9):
  Remove unused headers <linux/jz4740-adc.h> and
    <linux/power/jz4740-battery.h>
  nfs: remove unused header <linux/pnfs_osd_xdr.h>
  Remove unused header <linux/cnt32_to_63.h>
  Remove unused header <linux/sdb.h>
  Input: remove unused header <linux/input/cy8ctmg110_pdata.h>
  mtd: remove unused header file <linux/mtd/latch-addr-flash.h>
  ARM: ixp4xx: remove unused header file pata_ixp4xx_cf.h
  spi: remove unused header file <linux/platform_data/spi-clps711x.h>
  net: remove unused header file <linux/ks8851_mll.h>

 include/linux/cnt32_to_63.h                  | 104 ------
 include/linux/input/cy8ctmg110_pdata.h       |  10 -
 include/linux/jz4740-adc.h                   |  33 --
 include/linux/ks8851_mll.h                   |  21 --
 include/linux/mtd/latch-addr-flash.h         |  29 --
 include/linux/platform_data/pata_ixp4xx_cf.h |  21 --
 include/linux/platform_data/spi-clps711x.h   |  17 -
 include/linux/pnfs_osd_xdr.h                 | 317 -------------------
 include/linux/power/jz4740-battery.h         |  15 -
 include/linux/sdb.h                          | 160 ----------
 10 files changed, 727 deletions(-)
 delete mode 100644 include/linux/cnt32_to_63.h
 delete mode 100644 include/linux/input/cy8ctmg110_pdata.h
 delete mode 100644 include/linux/jz4740-adc.h
 delete mode 100644 include/linux/ks8851_mll.h
 delete mode 100644 include/linux/mtd/latch-addr-flash.h
 delete mode 100644 include/linux/platform_data/pata_ixp4xx_cf.h
 delete mode 100644 include/linux/platform_data/spi-clps711x.h
 delete mode 100644 include/linux/pnfs_osd_xdr.h
 delete mode 100644 include/linux/power/jz4740-battery.h
 delete mode 100644 include/linux/sdb.h

-- 
2.31.1


             reply	other threads:[~2021-11-02 22:02 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-11-02 22:01 Jonathan Corbet [this message]
2021-11-02 22:01 ` [PATCH 1/9] Remove unused headers <linux/jz4740-adc.h> and <linux/power/jz4740-battery.h> Jonathan Corbet
2021-11-02 22:19   ` Paul Cercueil
2021-11-03  7:43   ` Lee Jones
2021-11-03  9:27     ` Paul Cercueil
2021-11-03 10:13       ` Lee Jones
2021-11-03 12:40     ` Sebastian Reichel
2021-11-04  8:30       ` Lee Jones
2021-11-02 22:01 ` [PATCH 2/9] nfs: remove unused header <linux/pnfs_osd_xdr.h> Jonathan Corbet
2021-11-02 22:42   ` Trond Myklebust
2021-11-03 13:38     ` Jonathan Corbet
2021-11-03 13:54       ` Trond Myklebust
2021-11-02 22:01 ` [PATCH 3/9] Remove unused header <linux/cnt32_to_63.h> Jonathan Corbet
2021-11-02 22:38   ` Arnd Bergmann
2021-11-02 23:16   ` Nicolas Pitre
2021-11-03  6:31   ` Mike Rapoport
2021-11-02 22:01 ` [PATCH 4/9] Remove unused header <linux/sdb.h> Jonathan Corbet
2021-11-09 11:13   ` Linus Walleij
2021-11-02 22:01 ` [PATCH 5/9] Input: remove unused header <linux/input/cy8ctmg110_pdata.h> Jonathan Corbet
2021-11-02 23:47   ` Dmitry Torokhov
2021-11-02 22:02 ` [PATCH 6/9] mtd: remove unused header file <linux/mtd/latch-addr-flash.h> Jonathan Corbet
2021-11-19 18:35   ` Miquel Raynal
2021-11-02 22:02 ` [PATCH 7/9] ARM: ixp4xx: remove unused header file pata_ixp4xx_cf.h Jonathan Corbet
2021-11-02 22:38   ` Arnd Bergmann
2021-11-10  8:30   ` Linus Walleij
2021-11-02 22:02 ` [PATCH 8/9] spi: remove unused header file <linux/platform_data/spi-clps711x.h> Jonathan Corbet
2021-11-02 22:37   ` Arnd Bergmann
2021-11-02 22:02 ` [PATCH 9/9] net: remove unused header file <linux/ks8851_mll.h> Jonathan Corbet
2021-11-03  8:43 ` [PATCH 4/9] Remove unused header <linux/sdb.h> Alessandro Rubini
2021-11-15 19:21 ` (subset) [PATCH 0/9] Remove some unused header files Mark Brown

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=20211102220203.940290-1-corbet@lwn.net \
    --to=corbet@lwn.net \
    --cc=linux-kernel@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;
as well as URLs for NNTP newsgroup(s).