From: Julia Lawall Date: Thu, 4 Aug 2011 10:29:31 +0000 (+0200) Subject: fs/ext3/balloc.c: delete useless initialization X-Git-Tag: v3.2-rc1~86^2~16 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=46130222df8567ffde773216044c7611a1e71d51;p=pandora-kernel.git fs/ext3/balloc.c: delete useless initialization Delete nontrivial initialization that is immediately overwritten by the result of an allocation function. The semantic match that makes this change is as follows: (http://coccinelle.lip6.fr/) // @@ type T; identifier i; expression e; @@ ( T i = \(0\|NULL\|ERR_PTR(...)\); | -T i = e; +T i; ) ... when != i i = \(kzalloc\|kcalloc\|kmalloc\)(...); // Signed-off-by: Julia Lawall Signed-off-by: Jan Kara --- Reading git-diff-tree failed