diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-06-16 17:01:02 +0100 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-16 12:01:16 -0700 |
commit | 5dca607bcf10d3f08d07ffeac664c6769c336145 (patch) | |
tree | 73cb2d253b0ab4bd2501fb2bf1caf88f1d47f698 /drivers/char/pty.c | |
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>
Diffstat (limited to 'drivers/char/pty.c')
0 files changed, 0 insertions, 0 deletions