diff options
author | Eric Sesterhenn <snakebyte@gmx.de> | 2006-06-25 14:48:57 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2006-06-25 19:01:20 +0200 |
commit | 099a71d99578a53bdf5f383c55e4095f1c59410c (patch) | |
tree | e43761b2e62c5ce2591113f65596389074c92105 /lib | |
parent | [PATCH] ide-floppy: fix debug-only syntax error (diff) | |
download | linux-099a71d99578a53bdf5f383c55e4095f1c59410c.tar.xz linux-099a71d99578a53bdf5f383c55e4095f1c59410c.zip |
[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 <snakebyte@gmx.de>
Acked-by: Eric Van Hensbergen <ericvh@gmail.com>
Cc: Ron Minnich <rminnich@lanl.gov>
Cc: Latchesar Ionkov <lucho@ionkov.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions