MMC: sdio_uart, remove unused member from sdio_uart_port
authorJiri Slaby <jslaby@suse.cz>
Thu, 15 Nov 2012 08:49:51 +0000 (09:49 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 16 Nov 2012 01:20:57 +0000 (17:20 -0800)
tty from struct sdio_uart_port is unused. Proper refcounted tty in
tty_port->tty is used instead. So remove the member from that
structure.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/mmc/card/sdio_uart.c

index d2339ea378152070ce8496e25f1dc15f0cbe9f14..369f7ba1d216e169e62bb982a988f3b473db69d7 100644 (file)
@@ -67,7 +67,6 @@ struct uart_icount {
 struct sdio_uart_port {
        struct tty_port         port;
        struct kref             kref;
-       struct tty_struct       *tty;
        unsigned int            index;
        struct sdio_func        *func;
        struct mutex            func_lock;