The patch titled tty: remove unused var real_tty in n_tty_ioctl() has been removed from the -mm tree. Its filename was tty-remove-unused-var-real_tty-in-n_tty_ioctl.patch This patch was dropped because it was merged into mainline or a subsystem tree The current -mm tree may be found at http://userweb.kernel.org/~akpm/mmotm/ ------------------------------------------------------ Subject: tty: remove unused var real_tty in n_tty_ioctl() From: Gustavo Fernando Padovan <gustavo@xxxxxxxxxxxxxxxxx> 'struct tty_struct *real_tty' is not used in this function, so remove it. Signed-off-by: Gustavo Fernando Padovan <gustavo@xxxxxxxxxxxxxxxxx> Signed-off-by: Alan Cox <alan@xxxxxxxxxx> Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx> --- drivers/char/tty_ioctl.c | 7 ------- 1 file changed, 7 deletions(-) diff -puN drivers/char/tty_ioctl.c~tty-remove-unused-var-real_tty-in-n_tty_ioctl drivers/char/tty_ioctl.c --- a/drivers/char/tty_ioctl.c~tty-remove-unused-var-real_tty-in-n_tty_ioctl +++ a/drivers/char/tty_ioctl.c @@ -981,16 +981,9 @@ EXPORT_SYMBOL_GPL(tty_perform_flush); int n_tty_ioctl(struct tty_struct *tty, struct file *file, unsigned int cmd, unsigned long arg) { - struct tty_struct *real_tty; unsigned long flags; int retval; - if (tty->driver->type == TTY_DRIVER_TYPE_PTY && - tty->driver->subtype == PTY_TYPE_MASTER) - real_tty = tty->link; - else - real_tty = tty; - switch (cmd) { case TCXONC: retval = tty_check_change(tty); _ Patches currently in -mm which might be from gustavo@xxxxxxxxxxxxxxxxx are origin.patch -- To unsubscribe from this list: send the line "unsubscribe mm-commits" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html