From: Eric Sesterhenn Date: Sun, 25 Jun 2006 12:48:57 +0000 (-0700) Subject: [PATCH] Remove needless checks in fs/9p/vfs_inode.c X-Git-Tag: v2.6.18-rc1~913 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=099a71d99578a53bdf5f383c55e4095f1c59410c;p=pandora-kernel.git [PATCH] Remove needless checks in fs/9p/vfs_inode.c 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 Acked-by: Eric Van Hensbergen Cc: Ron Minnich Cc: Latchesar Ionkov Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed