Re: [PATCH 5/6] fs/btrfs/volumes.c: remove useless kzalloc

From: Chris Mason
Date: Mon Feb 09 2009 - 09:50:50 EST


On Sun, 2009-02-08 at 22:45 +0100, Julia Lawall wrote:
> From: Julia Lawall <julia@xxxxxxx>
>
> The call to kzalloc is followed by a kmalloc whose result is stored in the
> same variable.
>
> The semantic match that finds the problem is as follows:
> (http://www.emn.fr/x-info/coccinelle/)
>

Now that is neat. Thanks for the patch, I've queued it up here.

-chris


--
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/