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>
This commit is contained in:
@ -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);
|
||||
|
Reference in New Issue
Block a user