projects
/
linux-2.6-block.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2e8f205
)
net/tls: Remove redundant workqueue flush before destroy
author
Tariq Toukan
<tariqt@nvidia.com>
Mon, 1 Aug 2022 11:24:44 +0000
(14:24 +0300)
committer
Jakub Kicinski
<kuba@kernel.org>
Mon, 1 Aug 2022 19:44:38 +0000
(12:44 -0700)
destroy_workqueue() safely destroys the workqueue after draining it.
No need for the explicit call to flush_workqueue(). Remove it.
Signed-off-by: Tariq Toukan <tariqt@nvidia.com>
Link:
https://lore.kernel.org/r/20220801112444.26175-1-tariqt@nvidia.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
net/tls/tls_device.c
patch
|
blob
|
blame
|
history
diff --git
a/net/tls/tls_device.c
b/net/tls/tls_device.c
index 18c7e5c6d2283dccc9428a1e0a3fb3e357758ab0..e3e6cf75aa030ceea71c9bc468313be43976f68a 100644
(file)
--- a/
net/tls/tls_device.c
+++ b/
net/tls/tls_device.c
@@
-1449,7
+1449,6
@@
int __init tls_device_init(void)
void __exit tls_device_cleanup(void)
{
unregister_netdevice_notifier(&tls_dev_notifier);
- flush_workqueue(destruct_wq);
destroy_workqueue(destruct_wq);
clean_acked_data_flush();
}