[PATCH 2/30] return statement cleanup - kill pointless parenthesesin fs/efs/namei.c

From: Jesper Juhl
Date: Wed Dec 15 2004 - 18:59:22 EST



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

Signed-off-by: Jesper Juhl <juhl-lkml@xxxxxx>

--- linux-2.6.10-rc3-bk8-orig/fs/efs/namei.c 2004-12-06 22:24:43.000000000 +0100
+++ linux-2.6.10-rc3-bk8/fs/efs/namei.c 2004-12-15 22:31:45.000000000 +0100
@@ -37,7 +37,7 @@ static efs_ino_t efs_find_entry(struct i
if (be16_to_cpu(dirblock->magic) != EFS_DIRBLK_MAGIC) {
printk(KERN_ERR "EFS: find_entry(): invalid directory block\n");
brelse(bh);
- return(0);
+ return 0;
}

for(slot = 0; slot < dirblock->slots; slot++) {
@@ -49,12 +49,12 @@ static efs_ino_t efs_find_entry(struct i
if ((namelen == len) && (!memcmp(name, nameptr, len))) {
inodenum = be32_to_cpu(dirslot->inode);
brelse(bh);
- return(inodenum);
+ return inodenum;
}
}
brelse(bh);
}
- return(0);
+ return 0;
}

struct dentry *efs_lookup(struct inode *dir, struct dentry *dentry, struct nameidata *nd) {


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/