]> git.baikalelectronics.ru Git - kernel.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)
commitb468a47689c9b560d6473d7dd02ad2326907fe55
tree2a93f56f7cf349780f50e51aae75b9e002e8661b
parenta13778e907fb0cdac58cdcf64b0ffe22f942f3e9
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