summaryrefslogtreecommitdiff
path: root/fs/efs
diff options
context:
space:
mode:
authorJesper Juhl <juhl-lkml@dif.dk>2006-01-15 04:37:08 +0300
committerAdrian Bunk <bunk@r063144.stusta.swh.mhn.de>2006-01-15 04:37:08 +0300
commit014c2544e6fd09d702c908d95fe32c082376e15c (patch)
treedeba495e18bc9ba16bd8d703e2c901b9af8bbe38 /fs/efs
parent46a9f65f8bb39778646b83220d9619aff1490bcd (diff)
downloadlinux-014c2544e6fd09d702c908d95fe32c082376e15c.tar.xz
return statement cleanup - kill pointless parentheses
This patch removes pointless parentheses from return statements. Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk> Signed-off-by: Adrian Bunk <bunk@stusta.de>
Diffstat (limited to 'fs/efs')
-rw-r--r--fs/efs/super.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/fs/efs/super.c b/fs/efs/super.c
index d8d5ea9a9997..afc4891feb36 100644
--- a/fs/efs/super.c
+++ b/fs/efs/super.c
@@ -222,12 +222,13 @@ static efs_block_t efs_validate_vh(struct volume_header *vh) {
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);