diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 14:52:21 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 12:30:50 -0800 |
commit | 0f9b9684db2d1369fe303de5729cbdc817265bec (patch) | |
tree | 6a26ef3d46a010d131d6df4948fa455ec4981a68 /Documentation/leds | |
parent | 916b765675b7044bd5895b7430a2aa2c63ea4545 (diff) | |
download | blackbird-op-linux-0f9b9684db2d1369fe303de5729cbdc817265bec.tar.gz blackbird-op-linux-0f9b9684db2d1369fe303de5729cbdc817265bec.zip |
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>
Diffstat (limited to 'Documentation/leds')
0 files changed, 0 insertions, 0 deletions