From: Linus Torvalds Date: Mon, 3 Aug 2009 23:01:28 +0000 (-0700) Subject: tty-ldisc: get rid of tty_ldisc_try_get() helper function X-Git-Tag: v2.6.32-rc1~627^2~74 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=182274f85fc26ec3aa8c78dba8b0e7763af3c586;p=pandora-kernel.git 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 Cc: Alan Cox Cc: OGAWA Hirofumi , Tested-by: Sergey Senozhatsky Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed