The patch titled Remove needless checks in fs/9p/vfs_inode.c has been added to the -mm tree. Its filename is remove-needless-checks-in-fs-9p-vfs_inodec.patch See http://www.zip.com.au/~akpm/linux/patches/stuff/added-to-mm.txt to find out what to do about this ------------------------------------------------------ Subject: Remove needless checks in fs/9p/vfs_inode.c From: Eric Sesterhenn <snakebyte@xxxxxx> coverity found two needless checks in vfs_inode.c (cid #1165 and #1164) In both cases inode is always NULL when we goto error; either because it is still initialized to NULL or is set to NULL explicitly. This patch simply removes these checks to save some code. Signed-off-by: Eric Sesterhenn <snakebyte@xxxxxx> Cc: Eric Van Hensbergen <ericvh@xxxxxxxxx> Cc: Ron Minnich <rminnich@xxxxxxxx> Cc: Latchesar Ionkov <lucho@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxx> --- fs/9p/vfs_inode.c | 6 ------ 1 file changed, 6 deletions(-) diff -puN fs/9p/vfs_inode.c~remove-needless-checks-in-fs-9p-vfs_inodec fs/9p/vfs_inode.c --- a/fs/9p/vfs_inode.c~remove-needless-checks-in-fs-9p-vfs_inodec +++ a/fs/9p/vfs_inode.c @@ -530,9 +530,6 @@ error: if (vfid) v9fs_fid_destroy(vfid); - if (inode) - iput(inode); - return err; } @@ -1171,9 +1168,6 @@ error: if (vfid) v9fs_fid_destroy(vfid); - if (inode) - iput(inode); - return err; } _ Patches currently in -mm which might be from snakebyte@xxxxxx are git-alsa.patch git-dvb.patch git-gfs2.patch more-bug_on-conversion.patch cyclades-cleanup.patch cyclades-cleanup-cleanup.patch cleanup-char-espc.patch more-tty-cleanups-in-drivers-char.patch remove-needless-checks-in-fs-9p-vfs_inodec.patch fix-typo-in-drivers-isdn-hisax-q931c.patch - To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html