serial: imx: drop useless member from driver data
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Tue, 18 Jul 2017 12:01:52 +0000 (14:01 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 30 Jul 2017 14:35:28 +0000 (07:35 -0700)
commit64432a855148fd858e228a0faaebe7036a549706
tree55bdaed273cd98a698bac0f73099c08930116ccf
parentf67276a0ee113adcfd542527b39e937bbdc64ceb
serial: imx: drop useless member from driver data

The wait queue was only initialized and then checked if it contains
active jobs but a job is never added. The last real user was removed
with commit 9d297239b8cb ("serial: imx-serial - update UART IMX driver
to use cyclic DMA").

Further there is no need to release the lock for the check if the port
should be woken up, (and IMHO there never was) so drop the unlock/lock
pair in dma_tx_callback(), too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/imx.c