From: Jiri Slaby Date: Mon, 2 Apr 2012 11:53:52 +0000 (+0200) Subject: TTY: isdn, make some functions readable X-Git-Tag: v3.5-rc1~146^2~30^2~78 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=37630f406338de4a5f72a42c0b6a034657dce383;p=pandora-kernel.git TTY: isdn, make some functions readable Huh, this was a mess. * Remove the 5 indent levels by just returning from isdn_tty_try_read when the conditions there are not satisfied. * Use 'continue' in loop in isdn_tty_readmodem to save 2 levels. * Chain 'if's in isdn_tty_modem_escape. * Use 'continue' in loop in isdn_tty_carrier_timeout to save 1 level. Better to look at this patch with -w -b. Signed-off-by: Jiri Slaby Cc: Karsten Keil Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed