linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/9] Remove some unused header files
@ 2021-11-02 22:01 Jonathan Corbet
  2021-11-02 22:01 ` [PATCH 1/9] Remove unused headers <linux/jz4740-adc.h> and <linux/power/jz4740-battery.h> Jonathan Corbet
                   ` (10 more replies)
  0 siblings, 11 replies; 30+ messages in thread
From: Jonathan Corbet @ 2021-11-02 22:01 UTC (permalink / raw)
  To: linux-kernel; +Cc: Jonathan Corbet

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


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

end of thread, other threads:[~2021-11-19 18:35 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-11-02 22:01 [PATCH 0/9] Remove some unused header files Jonathan Corbet
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

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).