Message ID | ea5aaffd-b248-6398-9d40-efe1589cedb1@sorico.fr (mailing list archive) |
---|---|
State | Not Applicable |
Headers | show |
Series | DMA: atmel_serial: Opening and closing the serial device repeatedly causes kmalloc-32 slab leak | expand |
--- a/drivers/tty/serial/atmel_serial.c +++ b/drivers/tty/serial/atmel_serial.c @@ -1056,8 +1056,6 @@ static int atmel_prepare_tx_dma(struct uart_port *port) atmel_port->chan_tx = dma_request_slave_channel(mfd_dev, "tx"); if (atmel_port->chan_tx == NULL) goto chan_err; - dev_info(port->dev, "using %s for tx DMA transfers\n", - dma_chan_name(atmel_port->chan_tx)); spin_lock_init(&atmel_port->lock_tx); sg_init_table(&atmel_port->sg_tx, 1); @@ -1239,8 +1237,6 @@ static int atmel_prepare_rx_dma(struct uart_port *port)