Hi Steve, Just a small patch on top of the other ones I sent you earlier for cifsfs.c, I overlooked this trivial bit. We can get rid of the else clause in a if statement. Doesn't change anything code-wise, but shortens the file a bit and seems a bit cleaner (at least to me) - apply or not as you please of course.
Signed-off-by: Jesper Juhl <[EMAIL PROTECTED]> --- linux-2.6.12-rc1-mm3/fs/cifs/cifsfs.c.with_patch4 2005-03-25 18:03:49.000000000 +0100 +++ linux-2.6.12-rc1-mm3/fs/cifs/cifsfs.c 2005-03-26 03:41:29.000000000 +0100 @@ -96,9 +96,8 @@ static int cifs_read_super(struct super_ cifs_sb = CIFS_SB(sb); if (cifs_sb == NULL) return -ENOMEM; - else - memset(cifs_sb,0,sizeof(struct cifs_sb_info)); + memset(cifs_sb,0,sizeof(struct cifs_sb_info)); rc = cifs_mount(sb, cifs_sb, data, devname); if (rc) { if (!silent) - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/