diff options
author | Lukas Wunner <[email protected]> | 2023-03-11 15:40:10 +0100 |
---|---|---|
committer | Dan Williams <[email protected]> | 2023-04-18 10:36:58 -0700 |
commit | c8fc07abeba5cd14e88a2d77f4c4fed670da9492 (patch) | |
tree | 0a81079f281729bc17862e1463ae62da3e4eb8ee /scripts/generate_rust_analyzer.py | |
parent | 0821ff8ed059d38dfc9bec2106c5cc53bcaa15b1 (diff) |
PCI/DOE: Deduplicate mailbox flushing
When a DOE mailbox is torn down, its workqueue is flushed once in
pci_doe_flush_mb() through a call to flush_workqueue() and subsequently
flushed once more in pci_doe_destroy_workqueue() through a call to
destroy_workqueue().
Deduplicate by dropping flush_workqueue() from pci_doe_flush_mb().
Rename pci_doe_flush_mb() to pci_doe_cancel_tasks() to more aptly
describe what it now does.
Tested-by: Ira Weiny <[email protected]>
Signed-off-by: Lukas Wunner <[email protected]>
Reviewed-by: Ming Li <[email protected]>
Reviewed-by: Jonathan Cameron <[email protected]>
Acked-by: Bjorn Helgaas <[email protected]>
Link: https://lore.kernel.org/r/1f009f60b326d1c6d776641d4b20aff27de0c234.1678543498.git.lukas@wunner.de
Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions