tty: serial: max3100: Remove redundant 'flush_workqueue()' calls
authorXu Wang <vulab@iscas.ac.cn>
Fri, 14 Jan 2022 08:51:56 +0000 (08:51 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 26 Jan 2022 13:53:49 +0000 (14:53 +0100)
commit021d517296f30f5ca077eef9b976dff04841bc9b
tree7503df15bd40648d26a0dced612934d70569d2f2
parente783362eb54cd99b2cac8b3a9aeac942e6f6ac07
tty: serial: max3100: Remove redundant 'flush_workqueue()' calls

'destroy_workqueue()' already drains the queue before destroying it, so
there is no need to flush it explicitly.

Remove the redundant 'flush_workqueue()' calls.

Signed-off-by: Xu Wang <vulab@iscas.ac.cn>
Link: https://lore.kernel.org/r/20220114085156.43041-1-vulab@iscas.ac.cn
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/serial/max3100.c