keyspan: init termios properly
authorBorislav Petkov <bbpetkov@yahoo.de>
Thu, 15 Nov 2007 01:00:39 +0000 (17:00 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 15 Nov 2007 02:45:44 +0000 (18:45 -0800)
commit7eea436433b7b18045f272562e256976f593f7c0
treef1477e08d43358f53e6c84a4bc6c9baa41f9731f
parent5bfeca3138a6031e38c566d57128ff592eb009a8
keyspan: init termios properly

Remove redundant code leading to NULL ptr deref and let terminal config
settings take place in the proper initialization path in
usb_console_setup().

Signed-off-by: Borislav Petkov <bbpetkov@yahoo.de>
Cc: <lucy@keyspan.com>
Cc: Greg KH <greg@kroah.com>
Cc: Alan Cox <alan@lxorguk.ukuu.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/usb/serial/keyspan.c