]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
usb-serial: remove NULL check
authorAlan Cox <alan@redhat.com>
Sun, 11 Jan 2009 19:48:41 +0000 (19:48 +0000)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 13 Jan 2009 00:37:00 +0000 (16:37 -0800)
commitbf0672db79c18ce38d1783be982051a718a0bc22
tree2a93f56f7cf349780f50e51aae75b9e002e8661b
parent21b56ec4e96f2bd8c584db41bd9a42c6cb71fdac
usb-serial: remove NULL check

Julia Lawell found a case where a NULL check was misplaced in the
usb-serial code. However as the object in question cannot be NULL the
check can simply be removed.

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