projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d54c5d
)
backlight: lm3630a_bl: Remove redundant 'flush_workqueue()' calls
author
Xu Wang
<vulab@iscas.ac.cn>
Thu, 13 Jan 2022 08:48:06 +0000
(08:48 +0000)
committer
Helge Deller
<deller@gmx.de>
Sat, 29 Jan 2022 21:24:24 +0000
(22:24 +0100)
'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>
drivers/video/backlight/lm3630a_bl.c
patch
|
blob
|
history
diff --git
a/drivers/video/backlight/lm3630a_bl.c
b/drivers/video/backlight/lm3630a_bl.c
index e8b185bb6f5ee1cfccbd6c8ef5344a086a5e6459..1d17c439430ef79443b43997abfc11ca88ed5a6e 100644
(file)
--- 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;