Re: [PATCH V2] no need for checking it

From: Pekka Enberg
Date: Sat Jun 06 2009 - 07:30:14 EST


On Sat, Jun 6, 2009 at 2:11 PM, Figo.zhang <figo1802@xxxxxxxxx> wrote:
> vfree() does it's own NULL checking,so no need for check before
> calling it.
>
> 'pages' is local variable argment,so in v2, it is no need assignment
>  to NULL.
>
> Signed-off-by: Figo.zhang <figo1802@xxxxxxxxx>

Looks good to me.

Acked-by: Pekka Enberg <penberg@xxxxxxxxxxxxxx>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/