Skip to contentSkip to conversation

any interest in unreferenced header files throughout the tree?

DISCUSSION Robert P. J. Day 2 participants 2 messages Sep 29, 2009 – Oct 4, 2009

lore
Share & tools
lore
#0 lore raw

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

========================================================================

#1 lore raw
Quoted 6 lines · Robert P. J. Day

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.

Quoted 7 lines

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.

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