lkml.org 
[lkml]   [2004]   [Dec]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    From
    Subject[PATCH 3/30] return statement cleanup - kill pointless parentheses in fs/efs/super.c

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

    Signed-off-by: Jesper Juhl <juhl-lkml@dif.dk>

    --- 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@vger.kernel.org
    More majordomo info at http://vger.kernel.org/majordomo-info.html
    Please read the FAQ at http://www.tux.org/lkml/

    \
     
     \ /
      Last update: 2005-03-22 14:08    [W:0.021 / U:2.288 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site