diff options
author | Xu Wang <vulab@iscas.ac.cn> | 2022-01-14 08:50:19 +0000 |
---|---|---|
committer | Bjorn Andersson <bjorn.andersson@linaro.org> | 2022-01-31 16:44:47 -0600 |
commit | 4e6ae78ee61957800657d56ba78a10f034de174e (patch) | |
tree | 003157098020d5eb81e3893c46ca72d91df6dfad /drivers/soc/qcom | |
parent | 4b41a9d0fe3db5f91078a380f62f0572c3ecf2dd (diff) | |
download | linux-4e6ae78ee61957800657d56ba78a10f034de174e.tar.bz2 |
soc: qcom: apr: 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>
Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
Link: https://lore.kernel.org/r/20220114085019.42904-1-vulab@iscas.ac.cn
Diffstat (limited to 'drivers/soc/qcom')
-rw-r--r-- | drivers/soc/qcom/apr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/soc/qcom/apr.c b/drivers/soc/qcom/apr.c index 82ca12c9328a..3caabd873322 100644 --- a/drivers/soc/qcom/apr.c +++ b/drivers/soc/qcom/apr.c @@ -653,7 +653,6 @@ static void apr_remove(struct rpmsg_device *rpdev) pdr_handle_release(apr->pdr); device_for_each_child(&rpdev->dev, NULL, apr_remove_device); - flush_workqueue(apr->rxwq); destroy_workqueue(apr->rxwq); } |