[linux-dvb] [patch 2.6.11-rc3 3/3] av7110: remove test before vfree

Johannes Stezenbach js at linuxtv.org
Thu Feb 17 19:52:47 CET 2005


On Thu, Feb 10, 2005 at 12:58:12AM +0100, Francois Romieu wrote:
> Remove unneeded test:
> - calls are balanced;
> - vfree(NULL) is safe.
> 
> Signed-off-by: Francois Romieu <romieu at fr.zoreil.com>
...
>  void av7110_ipack_free(struct ipack * p)
>  {
> -	if (p->buf)
> -		vfree(p->buf);
> +	vfree(p->buf);
>  }

Patch applied.

Thanks,
Johannes




More information about the linux-dvb mailing list