diff options
author | Mike Frysinger <[email protected]> | 2009-06-16 17:01:02 +0100 |
---|---|---|
committer | Linus Torvalds <[email protected]> | 2009-06-16 12:01:16 -0700 |
commit | 5dca607bcf10d3f08d07ffeac664c6769c336145 (patch) | |
tree | 73cb2d253b0ab4bd2501fb2bf1caf88f1d47f698 /net/unix/af_unix.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 <[email protected]>
Signed-off-by: Alan Cox <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions