lkml.org 
[lkml]   [2009]   [Feb]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 5/6] fs/btrfs/volumes.c: remove useless kzalloc
From
Date
On Sun, 2009-02-08 at 22:45 +0100, Julia Lawall wrote:
> From: Julia Lawall <julia@diku.dk>
>
> 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




\
 
 \ /
  Last update: 2009-02-09 15:53    [W:0.057 / U:0.188 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site