mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-29 11:11:45 -04:00
return statement cleanup - kill pointless parentheses
This patch removes pointless parentheses from return statements. Signed-off-by: Jesper Juhl <[email protected]> Signed-off-by: Adrian Bunk <[email protected]>
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…
Reference in a new issue