mtx: forgot the final commit to fix the devtty build
authorAlan Cox <alan@linux.intel.com>
Thu, 19 Oct 2017 21:18:18 +0000 (22:18 +0100)
committerAlan Cox <alan@linux.intel.com>
Thu, 19 Oct 2017 21:18:18 +0000 (22:18 +0100)
Kernel/platform-mtx/devtty.c

index bda5501..a28ee12 100644 (file)
@@ -123,8 +123,6 @@ void tty_setup(uint8_t minor)
        irqflags_t flags;
        int i;
        char *p = dart_setup;
-       struct tty_*t;
-       uint8_t cf;
        struct tty *t = &ttydata[minor];
        uint8_t cf = t->termios.c_cflag;
        uint8_t r;