TTY: move pgrp killing
authorJiri Slaby <jslaby@suse.cz>
Wed, 9 Nov 2011 20:33:18 +0000 (21:33 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 15 Nov 2011 23:52:43 +0000 (15:52 -0800)
commit1411dc4aa21d364f40ed363c8e715939c15f57c2
treed57e3515e4f286bfaee5b39c4fe8823c335245c2
parente30f867d402d6dcc2d03d8dd5da3863f7c83572a
TTY: move pgrp killing

Move it to the only branch where tty_pgrp may be set. This is only a
cleanup which allows having tty_pgrp defined at that place.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/tty/tty_io.c