[PATCH 0/9] Remove some unused header files

From: Jonathan Corbet
Date: Tue Nov 02 2021 - 18:02:17 EST


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