There are six entirely unused headers in arch/m68k/include/asm. Nothing
includes these headers. And a few tests found no hits for the things
they provide (which makes sense).
MC68332.h, mac_mouse.h, mcfmbus.h, and mcfne.h are all unused since at
least v2.6.12-rc2 (I didn't bother looking further back than that).
apollodma.h is unused since v2.6.19: commit
2ed0ce5b57950a620155433c62a5a02a067f1376 ("m68k/Apollo: Remove obsolete
arch/m68k/apollo/dma.c") removed the last file interested in that
header.
And everything interested in<asm/sbus.h> was removed in the v2.6.28
release cycle. The last occurrence of "sbus.h" was deleted with commit
0c0db98b50ed1217c0dbf4051722034ba314d06e ("sparc: Remove
Documentation/sparc/sbus_drivers.txt"). I'm not sure whether anything
relevant for m68k was included in v2.6.27, but it doesn't really matter.
Signed-off-by: Paul Bolle<pebolle@xxxxxxxxxx>
-----
Tested with "git grep" only. I haven't got the hardware nor the
toolchain needed to do anything more thorough.
arch/m68k/include/asm/MC68332.h | 152 -----------------------
arch/m68k/include/asm/apollodma.h | 248 -------------------------------------
arch/m68k/include/asm/mac_mouse.h | 23 ----
arch/m68k/include/asm/mcfmbus.h | 77 ------------
arch/m68k/include/asm/mcfne.h | 242 ------------------------------------
arch/m68k/include/asm/sbus.h | 45 -------
6 files changed, 0 insertions(+), 787 deletions(-)
delete mode 100644 arch/m68k/include/asm/MC68332.h
delete mode 100644 arch/m68k/include/asm/apollodma.h
delete mode 100644 arch/m68k/include/asm/mac_mouse.h
delete mode 100644 arch/m68k/include/asm/mcfmbus.h
delete mode 100644 arch/m68k/include/asm/mcfne.h
delete mode 100644 arch/m68k/include/asm/sbus.h