From: Sukadev Bhattiprolu Date: Mon, 13 Oct 2008 09:42:49 +0000 (+0100) Subject: Move tty lookup/reopen to caller X-Git-Tag: v2.6.28-rc1~631 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4a2b5fddd53b80efcb3266ee36e23b8de28e761a;p=pandora-kernel.git Move tty lookup/reopen to caller Move tty_driver_lookup_tty() and tty_reopen() from tty_init_dev() into tty_open() (one of the two callers of tty_init_dev()). These calls are not really required in ptmx_open(), the other caller, since ptmx_open() would be setting up a new tty. Changelog[v2]: - remove the lookup and reopen calls from ptmx_open - merge with recent changes to ttydev tree Signed-off-by: Sukadev Bhattiprolu Signed-off-by: Alan Cox Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed