summaryrefslogtreecommitdiff
path: root/fs/ext3/ialloc.c
diff options
context:
space:
mode:
authorJulia Lawall <julia@diku.dk>2011-08-04 12:29:31 +0200
committerJan Kara <jack@suse.cz>2011-08-17 11:41:21 +0200
commit46130222df8567ffde773216044c7611a1e71d51 (patch)
tree1d6b41d78c6e1c957994a7fc1179cd32f80e8de6 /fs/ext3/ialloc.c
parent6e3d6ca0bf91bcce0453fff9b597154ff6bb9731 (diff)
downloadlwn-46130222df8567ffde773216044c7611a1e71d51.tar.gz
lwn-46130222df8567ffde773216044c7611a1e71d51.zip
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/) // <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>
Diffstat (limited to 'fs/ext3/ialloc.c')
0 files changed, 0 insertions, 0 deletions