Re: [PATCH 2/8] ASoC pxa2xx I2S support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



At Thu, 12 Oct 2006 11:14:02 +0100,
Liam Girdwood wrote:
> 
> On Tue, 2006-10-10 at 19:06 +0200, Takashi Iwai wrote:
> > At Tue, 10 Oct 2006 17:11:54 +0100,
> > Liam Girdwood wrote:
> > > 
> > > +/* used to disable sysclk if external crystal is used */
> > > +static int extclk = 0;
> > 
> > You can omit "= 0" for zero-initialization of a static variable.
> 
> Removed, although I do like it for clarity. 

IIRC, the code size is reduced by omitting '= 0'.  That is why kernel
code prefers the style without '= 0'. 
Maybe it doesn't matter any more with the recetn gcc, though.


Takashi

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux