summaryrefslogtreecommitdiff
path: root/include/linux/isdn.h
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2012-04-02 15:53:52 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-04-09 22:16:54 +0400
commit37630f406338de4a5f72a42c0b6a034657dce383 (patch)
tree11212fa0f1b2481e60af871b0bb77e483adf5963 /include/linux/isdn.h
parentce93d33cf45db9893cfc725a2b470da15bfe4435 (diff)
downloadlinux-37630f406338de4a5f72a42c0b6a034657dce383.tar.xz
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 <jslaby@suse.cz> Cc: Karsten Keil <isdn@linux-pingi.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/isdn.h')
0 files changed, 0 insertions, 0 deletions