summaryrefslogtreecommitdiffstats
path: root/fs/jffs2/os-linux.h
diff options
context:
space:
mode:
authorAdrian Bunk <bunk@kernel.org>2007-10-17 08:29:25 +0200
committerLinus Torvalds <torvalds@woody.linux-foundation.org>2007-10-17 17:42:55 +0200
commit827afdf093cce59bbbf9dc9f1c2eab86e2232b9e (patch)
tree287510107cb816eb7529da88f961a4b49ffe673d /fs/jffs2/os-linux.h
parentremove include/asm-*/ipc.h (diff)
downloadlinux-827afdf093cce59bbbf9dc9f1c2eab86e2232b9e.tar.xz
linux-827afdf093cce59bbbf9dc9f1c2eab86e2232b9e.zip
n_hdlc.c: fix check-after-use
The Coverity checker spotted that we'd have already oops'ed if "tty" was NULL. Since "tty" can't be NULL when we reach this line of code this patch removes the NULL check. Signed-off-by: Adrian Bunk <bunk@kernel.org> Acked-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'fs/jffs2/os-linux.h')
0 files changed, 0 insertions, 0 deletions