commit | d912156605b0eb3b3070dc7eabc43db6379aa43b | [log] [tgz] |
---|---|---|
author | Peter Hurley <peter@hurleysoftware.com> | Mon Mar 11 16:44:33 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Mon Mar 18 16:44:02 2013 -0700 |
tree | ac7fb32024a2e11ae94ee14401c652fc427ff2b2 | |
parent | b66f4fa509153ca9d313075806d5c6425dfa43c5 [diff] |
tty: Don't reenable already enabled ldisc tty_ldisc_hangup() guarantees the ldisc is enabled (or that there is no ldisc). Since __tty_hangup() was the only user, re-define tty_ldisc_enable() in file-scope. Signed-off-by: Peter Hurley <peter@hurleysoftware.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>