summaryrefslogtreecommitdiffstats
path: root/drivers/mmc/card/sdio_uart.c
diff options
context:
space:
mode:
authorJiri Slaby2012-11-15 09:49:51 +0100
committerGreg Kroah-Hartman2012-11-16 02:20:57 +0100
commit9753eb8de8a36de41f3b5e217e995cccfbecdada (patch)
tree3d0d6f1c02ddb41cf262a7bb2aca2af89dc0f889 /drivers/mmc/card/sdio_uart.c
parentISDN: capi, use kref from tty_port (diff)
downloadkernel-qcow2-linux-9753eb8de8a36de41f3b5e217e995cccfbecdada.tar.gz
kernel-qcow2-linux-9753eb8de8a36de41f3b5e217e995cccfbecdada.tar.xz
kernel-qcow2-linux-9753eb8de8a36de41f3b5e217e995cccfbecdada.zip
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 <jslaby@suse.cz> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/mmc/card/sdio_uart.c')
-rw-r--r--drivers/mmc/card/sdio_uart.c1
1 files changed, 0 insertions, 1 deletions
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;