aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/serial/icom.c
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2009-08-03 16:01:28 -0700
committerLive-CD User <linux@linux.site>2009-09-19 13:13:10 -0700
commit182274f85fc26ec3aa8c78dba8b0e7763af3c586 (patch)
treec8113b35eb01ff57177829623e77603111f7d2a7 /drivers/serial/icom.c
parenttty-ldisc: make /proc/tty/ldiscs use ldisc_ops instead of ldiscs (diff)
downloadlinux-dev-182274f85fc26ec3aa8c78dba8b0e7763af3c586.tar.xz
linux-dev-182274f85fc26ec3aa8c78dba8b0e7763af3c586.zip
tty-ldisc: get rid of tty_ldisc_try_get() helper function
Now that the /proc/tty/ldiscs handling doesn't play games with 'struct ldisc' any more, the only remaining user of 'tty_ldisc_try_get()' is 'tty_ldisc_get()' (note the lack of 'try'). And we're actually much better off folding the logic directly into that file, since the 'try' part was always about trying to get the ldisc operations, not the ldisc itself: and making that explicit inside of 'tty_ldisc_get()' clarifies the whole semantics. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Cc: Alan Cox <alan@lxorguk.ukuu.org.uk> Cc: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>, Tested-by: Sergey Senozhatsky <sergey.senozhatsky@mail.by> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/serial/icom.c')
0 files changed, 0 insertions, 0 deletions