From: Takashi Iwai Subject: Re: [PATCH 2/8] ASoC pxa2xx I2S support Date: Thu, 12 Oct 2006 12:56:28 +0200 Message-ID: References: <1160496714.24436.111.camel@localhost.localdomain> <1160648042.13780.5.camel@localhost.localdomain> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1160648042.13780.5.camel@localhost.localdomain> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@lists.sourceforge.net Errors-To: alsa-devel-bounces@lists.sourceforge.net To: Liam Girdwood Cc: alsa-devel List-Id: alsa-devel@alsa-project.org 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