From: Jiri Slaby Date: Mon, 5 Mar 2012 13:52:28 +0000 (+0100) Subject: TTY: simserial, remove static initialization X-Git-Tag: v3.4-rc1~185^2~47 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fd2d7a6e60068779bc72029f867b51d3dc2fe0cc;p=pandora-kernel.git 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 Cc: Tony Luck Cc: Fenghua Yu Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed