removed unused var real_tty on n_tty_ioctl()
authorGustavo Fernando Padovan <gustavo@las.ic.unicamp.br>
Mon, 23 Jun 2008 11:07:06 +0000 (12:07 +0100)
committerLinus Torvalds <torvalds@linux-foundation.org>
Mon, 23 Jun 2008 17:36:47 +0000 (10:36 -0700)
commit96a331b1d6426726c37242ddbe939ee14b255790
tree298c5830d28c446e5b884fe54445ed0008145494
parent36c7343b4ecac2432430f5393314f1bdc2c219a5
removed unused var real_tty on n_tty_ioctl()

I noted that the 'struct tty_struct *real_tty' is not used in this
function, so I removed the code about 'real_tty'.

Signed-off-by: Gustavo Fernando Padovan <gustavo@las.ic.unicamp.br>
Acked-by: Alan Cox <alan@redhat.com>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/char/tty_ioctl.c