[PATCH] tty: remove unused variable canon_change

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Harvey Harrison
Date: Tuesday, September 2, 2008 - 2:27 pm

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@gmail.com>
---
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



--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] tty: remove unused variable canon_change, Harvey Harrison, (Tue Sep 2, 2:27 pm)
Re: [PATCH] tty: remove unused variable canon_change, Andrew Morton, (Tue Sep 2, 11:37 pm)
Re: [PATCH] tty: remove unused variable canon_change, Stephen Rothwell, (Wed Sep 3, 12:54 am)