lkml.org 
[lkml]   [2008]   [Feb]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: latest list of unused Kconfig variables
On Wed, 13 Feb 2008, Sam Ravnborg wrote:

> On Wed, Feb 13, 2008 at 10:44:27AM -0500, Robert P. J. Day wrote:
> > On Wed, 13 Feb 2008, Josh Boyer wrote:
> >
> > > OK. Well all of your hits for 405EX, 440GRX, 440SPe, and
> > > WANT_DEVICE_TREE in arch/powerpc seem bogus. I dunno if you prune
> > > those when reported or not.
> >
> > not normally, but i don't know what you mean by "bogus":
> >
> > $ grep -r "config 405EX" *
> > arch/powerpc/platforms/40x/Kconfig:config 405EX
> > $
> >
> > $ grep -r CONFIG_405EX *
> > arch/powerpc/configs/makalu_defconfig:CONFIG_405EX=y
> > arch/powerpc/configs/kilauea_defconfig:CONFIG_405EX=y
> > $
>
> $ git grep 405EX | grep select
> arch/powerpc/platforms/40x/Kconfig: select 405EX
> arch/powerpc/platforms/40x/Kconfig: select 405EX
>
> So it is used.

ok, i see the flaw in my logic. the Kconfig variable 405EX isn't
tested *directly* by anyone, it's simply used to further "select"
other variables, which my script doesn't take into account.

config 405EX
bool
select IBM_NEW_EMAC_EMAC4
select IBM_NEW_EMAC_RGMII

i don't think i'm quite ready to add that logic to a simple scanning
script.

oh, well.

rday
--

========================================================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry:
Have classroom, will lecture.
http://crashcourse.ca Waterloo, Ontario, CANADA
========================================================================

\
 
 \ /
  Last update: 2008-02-13 19:01    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site