commit | 5dca607bcf10d3f08d07ffeac664c6769c336145 | [log] [tgz] |
---|---|---|
author | Mike Frysinger <vapier@gentoo.org> | Tue Jun 16 17:01:02 2009 +0100 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Tue Jun 16 12:01:16 2009 -0700 |
tree | 73cb2d253b0ab4bd2501fb2bf1caf88f1d47f698 | |
parent | 677ca3060c474d7d89941948e32493d9c18c52d2 [diff] |
tty: fix unused warning when TCGETX is not defined If TCGETX is not defined, we end up with this warning: drivers/char/tty_ioctl.c: In function ‘tty_mode_ioctl’: drivers/char/tty_ioctl.c:950: warning: unused variable ‘ktermx’ Since the variable is only used in one case statement, push it down to the local case scope. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>