From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg Ungerer Subject: Re: [PATCH] m68k: remove six unused headers Date: Fri, 8 Jun 2012 16:26:49 +1000 Message-ID: <4FD19B29.4050904@snapgear.com> References: <1339059427.25798.3.camel@x61.thuisdomein> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8"; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1339059427.25798.3.camel@x61.thuisdomein> Sender: linux-m68k-owner@vger.kernel.org List-Id: linux-m68k@vger.kernel.org To: Paul Bolle Cc: Geert Uytterhoeven , linux-m68k@lists.linux-m68k.org, linux-kernel@vger.kernel.org Hi Paul, On 07/06/12 18:57, Paul Bolle wrote: > 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). Although mcfne.h has been unused for a while I am working on some patches that do use it. No problem for the others. > 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 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 Acked-by: Greg Ungerer Regards Greg > --- > 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 > -- ------------------------------------------------------------------------ Greg Ungerer -- Principal Engineer EMAIL: gerg@snapgear.com SnapGear Group, McAfee PHONE: +61 7 3435 2888 8 Gardner Close FAX: +61 7 3217 5323 Milton, QLD, 4064, Australia WEB: http://www.SnapGear.com