diff options
author | Jiri Slaby <jslaby@suse.cz> | 2012-03-05 13:52:28 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2012-03-08 20:48:26 (GMT) |
commit | fd2d7a6e60068779bc72029f867b51d3dc2fe0cc (patch) | |
tree | cfa68f135a001233d2cef7bfad0ca4cf684230d2 /arch/ia64/hp/common | |
parent | 01bd730d92bd002adc3f3317d8e3328c629b436c (diff) | |
download | linux-fsl-qoriq-fd2d7a6e60068779bc72029f867b51d3dc2fe0cc.tar.xz |
TTY: simserial, remove static initialization
We do not use any of the preinitialized rs_state members for something
real. So there is no need to initialize them. At the places we used
them for printing, just print the values.
And since only one port is supported, get rid of the loop. This
simplifies simrs_init a heap. Thus we can handle fail paths in a
standard way without panicing.
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Tony Luck <tony.luck@intel.com>
Cc: Fenghua Yu <fenghua.yu@intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'arch/ia64/hp/common')
0 files changed, 0 insertions, 0 deletions