diff options
author | Xu Wang <vulab@iscas.ac.cn> | 2022-01-13 08:48:06 +0000 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-01-29 22:24:24 +0100 |
commit | adc122011125682932ef279d717153670feedde4 (patch) | |
tree | 7ba67320f394b7815fc9b3a95a3136ebdef86129 /drivers/video | |
parent | 9d54c5d47406588f7bae9b72bd9f922b33434327 (diff) |
backlight: lm3630a_bl: 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>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'drivers/video')
-rw-r--r-- | drivers/video/backlight/lm3630a_bl.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/video/backlight/lm3630a_bl.c b/drivers/video/backlight/lm3630a_bl.c index e8b185bb6f5e..1d17c439430e 100644 --- a/drivers/video/backlight/lm3630a_bl.c +++ b/drivers/video/backlight/lm3630a_bl.c @@ -594,7 +594,6 @@ static int lm3630a_remove(struct i2c_client *client) if (pchip->irq) { free_irq(pchip->irq, pchip); - flush_workqueue(pchip->irqthread); destroy_workqueue(pchip->irqthread); } return 0; |