public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* any interest in unreferenced header files throughout the tree?
@ 2009-09-29 23:11 Robert P. J. Day
  2009-10-04 18:56 ` Pavel Machek
  0 siblings, 1 reply; 2+ messages in thread
From: Robert P. J. Day @ 2009-09-29 23:11 UTC (permalink / raw)
  To: Linux Kernel Mailing List


  with a minor tweak to one of my scripts, i can now identify all
header files throughout the source tree that no one seems to be using,
and i can generate that output broken down as usual by logical
subdirectories.

  as a simple example, under fs/, there appears to be a single unused
header file:

  fs/xfs/xfs_refcache.h

if there's interest, i can generate output for the entire tree and
post it at the normal wiki location.

rday

p.s.  there's a *lot* of them under arch/.

--


========================================================================
Robert P. J. Day                               Waterloo, Ontario, CANADA

        Linux Consulting, Training and Annoying Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday
========================================================================

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

* Re: any interest in unreferenced header files throughout the tree?
  2009-09-29 23:11 any interest in unreferenced header files throughout the tree? Robert P. J. Day
@ 2009-10-04 18:56 ` Pavel Machek
  0 siblings, 0 replies; 2+ messages in thread
From: Pavel Machek @ 2009-10-04 18:56 UTC (permalink / raw)
  To: Robert P. J. Day; +Cc: Linux Kernel Mailing List

On Tue 2009-09-29 19:11:55, Robert P. J. Day wrote:
> 
>   with a minor tweak to one of my scripts, i can now identify all
> header files throughout the source tree that no one seems to be using,
> and i can generate that output broken down as usual by logical
> subdirectories.
> 
>   as a simple example, under fs/, there appears to be a single unused
> header file:
> 
>   fs/xfs/xfs_refcache.h
> 
> if there's interest, i can generate output for the entire tree and
> post it at the normal wiki location.

Better yet post it to the list.

And if there are headers that are unused now and were unused in
2.6.25... I guess you can just submit patch removing those.

-- 
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

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

end of thread, other threads:[~2009-10-04 18:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-29 23:11 any interest in unreferenced header files throughout the tree? Robert P. J. Day
2009-10-04 18:56 ` Pavel Machek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox