]> git.karo-electronics.de Git - linux-beck.git/commitdiff
pch_uart: Delete unused structure member
authorTomoya MORINAGA <tomoya.rohm@gmail.com>
Mon, 26 Mar 2012 05:43:00 +0000 (14:43 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 9 Apr 2012 19:08:41 +0000 (12:08 -0700)
Signed-off-by: Tomoya MORINAGA <tomoya.rohm@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/pch_uart.c

index 08b9962b8fdab8813bbb453f120870eb1fbb96d3..110595ed33f5af47a6b07663492650667480d83c 100644 (file)
@@ -236,7 +236,6 @@ struct eg20t_port {
        unsigned int fcr;
        unsigned int mcr;
        unsigned int use_dma;
-       unsigned int use_dma_flag;
        struct dma_async_tx_descriptor  *desc_tx;
        struct dma_async_tx_descriptor  *desc_rx;
        struct pch_dma_slave            param_tx;
@@ -1441,7 +1440,6 @@ static int pch_uart_verify_port(struct uart_port *port,
                return -EOPNOTSUPP;
 #endif
                priv->use_dma = 1;
-               priv->use_dma_flag = 1;
                dev_info(priv->port.dev, "PCH UART : Use DMA Mode\n");
        }