[PATCH 3/30] return statement cleanup - kill pointless parenthesesin fs/efs/super.c

From: Jesper Juhl
Date: Wed Dec 15 2004 - 19:03:49 EST



This patch removes pointless parentheses from return statements in
fs/efs/super.c

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

--- linux-2.6.10-rc3-bk8-orig/fs/efs/super.c 2004-12-06 22:24:43.000000000 +0100
+++ linux-2.6.10-rc3-bk8/fs/efs/super.c 2004-12-15 22:32:39.000000000 +0100
@@ -202,12 +202,13 @@ static efs_block_t efs_validate_vh(struc
sblock);
#endif
}
- return(sblock);
+ return sblock;
}

static int efs_validate_super(struct efs_sb_info *sb, struct efs_super *super) {

- if (!IS_EFS_MAGIC(be32_to_cpu(super->fs_magic))) return -1;
+ if (!IS_EFS_MAGIC(be32_to_cpu(super->fs_magic)))
+ return -1;

sb->fs_magic = be32_to_cpu(super->fs_magic);
sb->total_blocks = be32_to_cpu(super->fs_size);



-
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/