]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
neo: Remove a bogus NULL check
authorAlan Cox <alan@redhat.com>
Sun, 11 Jan 2009 19:48:34 +0000 (19:48 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Jan 2009 00:37:00 +0000 (16:37 -0800)
commit21b56ec4e96f2bd8c584db41bd9a42c6cb71fdac
tree9f3c5434966bb4d4817215bc8a3617362812648f
parentc774bda2fdc5412124a854a791d9f6f52936ff81
neo: Remove a bogus NULL check

Julia Lawall found an un-needed check in the neo driver. Her patch moves
the check to cover the code dereferencing it, however it cannot be NULL
anyway so remove the NULL check instead.

Signed-off-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/serial/jsm/jsm_neo.c