Re: [PATCH v2 2/4] mmc: Export internal host state through debugfs

From: Haavard Skinnemoen
Date: Sat Jul 05 2008 - 09:44:54 EST


On Fri, 4 Jul 2008 19:45:56 +0200
Pierre Ossman <drzeus-list@xxxxxxxxx> wrote:

> I see that this version has no ifdef:s at all. Doesn't that mean a lot
> of useless code if DEBUG_FS is not enabled? You embedded guys are
> usually rather sensitive about such things. :)

Hmm...looks like gcc does a pretty poor job of eliminating unreachable
code, so we end up with about 1k of dead code in debugfs.o.

I guess we'll have to throw in a couple of #ifdefs then...

Haavard
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/