There's no need to test whether a (delayed) work item is pending
before queueing, flushing or cancelling it. Most uses are unnecessary
and quite a few of them are buggy.
Signed-off-by: Lee Jones
---
drivers/power/ab8500_charger.c | 19 ++-
1 file changed, 6 insertions(+), 13
There's no need to test whether a (delayed) work item is pending
before queueing, flushing or cancelling it. Most uses are unnecessary
and quite a few of them are buggy.
Signed-off-by: Lee Jones lee.jo...@linaro.org
---
drivers/power/ab8500_charger.c | 19 ++-
1 file changed,
2 matches
Mail list logo