From: Mark Brown Subject: Re: Patch to /sound/soc/pxa/pxa2xx_pcm.c, WHO IS INTERESTED? Date: Fri, 19 Dec 2008 12:32:13 +0000 Message-ID: <20081219123212.GK24129@sirena.org.uk> References: <494A97CD.7070909@gmail.com> <20081219115737.GI24129@sirena.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from cassiel.sirena.org.uk (cassiel.sirena.org.uk [80.68.93.111]) by alsa0.perex.cz (Postfix) with ESMTP id A49CF243C8 for ; Fri, 19 Dec 2008 13:32:14 +0100 (CET) Content-Disposition: inline In-Reply-To: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: alsa-devel-bounces@alsa-project.org Errors-To: alsa-devel-bounces@alsa-project.org To: Takashi Iwai Cc: nicolas pitre , ALSA project mailing list , sware , liam girdwood List-Id: alsa-devel@alsa-project.org On Fri, Dec 19, 2008 at 01:03:59PM +0100, Takashi Iwai wrote: > Mark Brown wrote: > > > kfree(prtd); > > > + runtime->private_data = NULL; > > > + > This looks superfluous. The runtime instance will be anyway freed > soon after the close callback. Even if it wasn't the driver will overwrite it on open(). OTOH it doesn't do any harm either.