]> err.no Git - linux-2.6/commit
Char: mxser, simplify mxser_get_serial_info
authorJiri Slaby <jirislaby@gmail.com>
Thu, 7 Feb 2008 08:16:44 +0000 (00:16 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Thu, 7 Feb 2008 16:42:34 +0000 (08:42 -0800)
commitf83bb2d40a879c21c5085ee8cfc426f9936901ee
tree5085aeaafcb49a801c4a97689a80ba83e2338ebe
parent0ecd233bb6efa9745dffc6134ceab8aba1aa030b
Char: mxser, simplify mxser_get_serial_info

Initialize temp structure directly with proper values without first zeroing
it and setting later as suggested by Jan.

Signed-off-by: Jiri Slaby <jirislaby@gmail.com>
Cc: Jan Engelhardt <jengelh@computergmbh.de>
Reviewed-by: Alan Cox <alan@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/mxser_new.c