[PATCH] tty: remove unused variable canon_change

From: Harvey Harrison
Date: Tue Sep 02 2008 - 17:27:33 EST


drivers/char/tty_ioctl.c: In function âchange_termiosâ:
drivers/char/tty_ioctl.c:492: warning: unused variable âcanon_changeâ

Signed-off-by: Harvey Harrison <harvey.harrison@xxxxxxxxx>
---
new warning in next-20080902

drivers/char/tty_ioctl.c | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)

diff --git a/drivers/char/tty_ioctl.c b/drivers/char/tty_ioctl.c
index 17e6a98..a408c8e 100644
--- a/drivers/char/tty_ioctl.c
+++ b/drivers/char/tty_ioctl.c
@@ -489,7 +489,6 @@ EXPORT_SYMBOL(tty_termios_hw_change);

static void change_termios(struct tty_struct *tty, struct ktermios *new_termios)
{
- int canon_change;
struct ktermios old_termios;
struct tty_ldisc *ld;
unsigned long flags;
--
1.6.0.1.400.ga23d3



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/