From: Jiri Slaby Date: Thu, 15 Nov 2012 08:49:51 +0000 (+0100) Subject: MMC: sdio_uart, remove unused member from sdio_uart_port X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9753eb8de8a36de41f3b5e217e995cccfbecdada;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git MMC: sdio_uart, remove unused member from sdio_uart_port 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 Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/mmc/card/sdio_uart.c b/drivers/mmc/card/sdio_uart.c index d2339ea37815..369f7ba1d216 100644 --- a/drivers/mmc/card/sdio_uart.c +++ b/drivers/mmc/card/sdio_uart.c @@ -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;