[PATCH 12/30] return statement cleanup - kill pointless parenthesesin fs/xfs/xfs_inode.c

From: Jesper Juhl
Date: Wed Dec 15 2004 - 19:36:46 EST




This patch removes pointless parentheses from return statements in
fs/xfs/xfs_inode.c

Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>

--- linux-2.6.10-rc3-bk8-orig/fs/xfs/xfs_inode.c 2004-10-18 23:55:28.000000000 +0200
+++ linux-2.6.10-rc3-bk8/fs/xfs/xfs_inode.c 2004-12-15 22:57:15.000000000 +0100
@@ -1778,7 +1778,7 @@ xfs_itruncate_finish(
xfs_trans_ijoin(ntp, ip, XFS_ILOCK_EXCL | XFS_IOLOCK_EXCL);
xfs_trans_ihold(ntp, ip);
if (error)
- return (error);
+ return error;
}
/*
* Only update the size in the case of the data fork, but
@@ -3786,7 +3786,7 @@ xfs_iroundup(
return v + 1;
}
ASSERT(0);
- return( 0 );
+ return 0;
}

/*



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/