diff options
-rw-r--r-- | drivers/tty/vt/vt_ioctl.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/vt/vt_ioctl.c b/drivers/tty/vt/vt_ioctl.c index 01ccd9e93b7f..54851544d7c0 100644 --- a/drivers/tty/vt/vt_ioctl.c +++ b/drivers/tty/vt/vt_ioctl.c | |||
@@ -1512,7 +1512,6 @@ long vt_compat_ioctl(struct tty_struct *tty, | |||
1512 | { | 1512 | { |
1513 | struct vc_data *vc = tty->driver_data; | 1513 | struct vc_data *vc = tty->driver_data; |
1514 | struct console_font_op op; /* used in multiple places here */ | 1514 | struct console_font_op op; /* used in multiple places here */ |
1515 | struct kbd_struct *kbd; | ||
1516 | unsigned int console; | 1515 | unsigned int console; |
1517 | void __user *up = (void __user *)arg; | 1516 | void __user *up = (void __user *)arg; |
1518 | int perm; | 1517 | int perm; |
@@ -1535,7 +1534,6 @@ long vt_compat_ioctl(struct tty_struct *tty, | |||
1535 | if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) | 1534 | if (current->signal->tty == tty || capable(CAP_SYS_TTY_CONFIG)) |
1536 | perm = 1; | 1535 | perm = 1; |
1537 | 1536 | ||
1538 | kbd = kbd_table + console; | ||
1539 | switch (cmd) { | 1537 | switch (cmd) { |
1540 | /* | 1538 | /* |
1541 | * these need special handlers for incompatible data structures | 1539 | * these need special handlers for incompatible data structures |