summaryrefslogtreecommitdiffstats
path: root/fs/xfs/xfs_inode_item.c
diff options
context:
space:
mode:
authorDavid Sterba <dsterba@suse.cz>2011-04-13 22:03:28 +0000
committerAlex Elder <aelder@sgi.com>2011-04-28 13:25:29 -0500
commit45c51b99943c4c74165b19dc2f96e8ba93bdecb9 (patch)
tree4f0beaf22aaa7e931540f3a40a722ab4cfaefafe /fs/xfs/xfs_inode_item.c
parent8a072a4d4c6a5b6ec32836c467d2996393c76c6f (diff)
downloadop-kernel-dev-45c51b99943c4c74165b19dc2f96e8ba93bdecb9.zip
op-kernel-dev-45c51b99943c4c74165b19dc2f96e8ba93bdecb9.tar.gz
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>
Diffstat (limited to 'fs/xfs/xfs_inode_item.c')
-rw-r--r--fs/xfs/xfs_inode_item.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/fs/xfs/xfs_inode_item.c b/fs/xfs/xfs_inode_item.c
index 576fdfe..09983a3 100644
--- a/fs/xfs/xfs_inode_item.c
+++ b/fs/xfs/xfs_inode_item.c
@@ -970,7 +970,6 @@ xfs_iflush_abort(
{
xfs_inode_log_item_t *iip = ip->i_itemp;
- iip = ip->i_itemp;
if (iip) {
struct xfs_ail *ailp = iip->ili_item.li_ailp;
if (iip->ili_item.li_flags & XFS_LI_IN_AIL) {
OpenPOWER on IntegriCloud