xfs: cleanup duplicate initializations
commit45c51b99943c4c74165b19dc2f96e8ba93bdecb9
authorDavid Sterba <dsterba@suse.cz>
Wed, 13 Apr 2011 22:03:28 +0000 (13 22:03 +0000)
committerAlex Elder <aelder@sgi.com>
Thu, 28 Apr 2011 18:25:29 +0000 (28 13:25 -0500)
tree4f0beaf22aaa7e931540f3a40a722ab4cfaefafe
parent8a072a4d4c6a5b6ec32836c467d2996393c76c6f
xfs: cleanup duplicate initializations

follow these guidelines:
- leave initialization in the declaration block if it fits the line
- move to the code where it's more suitable ('for' init block)

The last chunk was modified from David's original to be a correct
fix for what appeared to be a duplicate initialization.

Signed-off-by: David Sterba <dsterba@suse.cz>
Signed-off-by: Alex Elder <aelder@sgi.com>
Reviewed-by: Dave Chinner <dchinner@redhat.com>
fs/xfs/xfs_dfrag.c
fs/xfs/xfs_inode_item.c
fs/xfs/xfs_mount.c