Julia Lawall 6e3d6ca0bf fs/ext2/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/)

// <smpl>
@@
type T;
identifier i;
expression e;
@@

(
T i = \(0\|NULL\|ERR_PTR(...)\);
|
-T i = e;
+T i;
)
... when != i
i = \(kzalloc\|kcalloc\|kmalloc\)(...);

// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Jan Kara <jack@suse.cz>
2011-08-17 11:41:20 +02:00
..
2011-07-25 14:30:23 -04:00
2009-06-11 21:36:12 -04:00
2011-07-25 14:30:23 -04:00
2010-05-21 18:31:18 -04:00
2010-05-21 18:31:18 -04:00
2009-12-10 15:02:52 +01:00