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

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

 



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@xxxxxxxxxxxxx>
...
>  void av7110_ipack_free(struct ipack * p)
>  {
> -	if (p->buf)
> -		vfree(p->buf);
> +	vfree(p->buf);
>  }

Patch applied.

Thanks,
Johannes



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux