Jiri Slaby 0f9b9684db TTY: amiserial, simplify set_serial_info
Do not copy whole serial_state. We only need to know whether the speed
is to be changed. Hence store the info in advance and use it later.
A simple bool is enough.

Also remove reduntant assignments and move the tests directly to the
'if'.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2012-03-08 12:30:50 -08:00
..
2012-03-08 11:42:21 -08:00
2011-03-31 11:26:23 -03:00
2011-12-09 19:11:35 -08:00
2012-03-08 10:50:35 -08:00
2011-08-23 10:34:07 -07:00