Re: [2.6 patch] sstfb.c: make some code static
From: Adrian Bunk <hidden>
Date: 2004-11-27 02:49:26
Also in:
lkml
On Wed, Nov 24, 2004 at 10:49:47PM +0000, Alan Cox wrote:
On Sul, 2004-11-21 at 15:36, Adrian Bunk wrote:quoted
The patch below makes some needlessly global code static.No it doesn't. It makes some functions static (which is fine) and adds some nasty messy pointless #ifdefs. It touches no variable at all. Please check your description texts and also don't fill the kernel with ifdef crap. Probably the __setup stuff should be a module param new style too.
Yes, the description text could have been better.
The "ifdef crap" comes from the fact, that after making the functions
static, gcc warns if they are unused.
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/