]> git.baikalelectronics.ru Git - kernel.git/commit
net/tls: Remove redundant workqueue flush before destroy
authorTariq Toukan <tariqt@nvidia.com>
Mon, 1 Aug 2022 11:24:44 +0000 (14:24 +0300)
committerJakub Kicinski <kuba@kernel.org>
Mon, 1 Aug 2022 19:44:38 +0000 (12:44 -0700)
commit539bca1d89b8e999f287dae1fecabab239c903ad
tree425aee7b1d7728405ab4c4b4fd1d0d28555a42b3
parent97c6b5f2abc3a362c01e7e307e96340edc5273a3
net/tls: Remove redundant workqueue flush before destroy

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