serial: 8250_dma: no need to set tx_err twice
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 6 Nov 2014 11:28:17 +0000 (13:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 6 Nov 2014 23:01:03 +0000 (15:01 -0800)
commitb1835d238ad3dc6ad8fe23172b1995d1fb5bdd39
treed7a9e614d6ede05a5dce845ae10fa8a577b223e7
parent2dc98946d4d4398ab07d569c414c1f839907ea0b
serial: 8250_dma: no need to set tx_err twice

In the serial8250_tx_dma() the tx_err flag is set in case of error. Thus, there
is no need to repeat this in __dma_tx_complete().

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/8250/8250_dma.c