pch_uart: Delete unused private data member
PATCH 1/1 pch_uart: Delete unused private data member
Using "[PATCH] pch_uart: Fix DMA resource leak issue" patch, this variable becomes unused.
Signed-off-by Tomoya MORINAGA <[email protected]>
--- drivers/serial/pch_uart.c | 2 -- 1 files changed, 0 insertions(+), 2 deletions(-)
drivers/serial/pch_uart.c +0 -2
@@ -228,7 +228,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;
@@ -1416,7 +1415,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" ); }
Signature · 1 line
1.7.4.4