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:
parent
46a9f65f8b
commit
014c2544e6
10 changed files with 275 additions and 275 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue