]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit12a6ce5fb01e8597843df38e18f8b3dbd07b1754
treef1477e08d43358f53e6c84a4bc6c9baa41f9731f
parent0f93ee48d3782afa068a4512192f610f55d4a880
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