aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorJiri Slaby <[email protected]>2012-03-05 14:52:28 +0100
committerGreg Kroah-Hartman <[email protected]>2012-03-08 12:48:26 -0800
commitfd2d7a6e60068779bc72029f867b51d3dc2fe0cc (patch)
treecfa68f135a001233d2cef7bfad0ca4cf684230d2 /include
parent01bd730d92bd002adc3f3317d8e3328c629b436c (diff)
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 <[email protected]> Cc: Tony Luck <[email protected]> Cc: Fenghua Yu <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions