aboutsummaryrefslogtreecommitdiff
path: root/lib/flex_array.c
diff options
context:
space:
mode:
authorJulia Lawall <[email protected]>2011-08-04 12:29:32 +0200
committerJan Kara <[email protected]>2011-08-17 11:41:20 +0200
commit6e3d6ca0bf91bcce0453fff9b597154ff6bb9731 (patch)
treea55d1921f6afa9c0b8d48823abb6384d5b29dc61 /lib/flex_array.c
parent1cde201da4e97f10a5dd2434cff4ceff381603d1 (diff)
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 <[email protected]> Signed-off-by: Jan Kara <[email protected]>
Diffstat (limited to 'lib/flex_array.c')
0 files changed, 0 insertions, 0 deletions