The core already handles the kernel console case and disables DMA for any serial device used for above mentioned purposes. Thus, remove duplicating code to disable DMA for kernel console. Signed-off-by: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> --- drivers/tty/serial/8250/8250_omap.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/tty/serial/8250/8250_omap.c b/drivers/tty/serial/8250/8250_omap.c index 6f343ca08440..4f07fe8093a3 100644 --- a/drivers/tty/serial/8250/8250_omap.c +++ b/drivers/tty/serial/8250/8250_omap.c @@ -620,10 +620,6 @@ static int omap_8250_startup(struct uart_port *port) up->lsr_saved_flags = 0; up->msr_saved_flags = 0; - /* Disable DMA for console UART */ - if (uart_console(port)) - up->dma = NULL; - if (up->dma) { ret = serial8250_request_dma(up); if (ret) { -- 2.25.0