]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: fnic: Remove unneeded flush_workqueue()
authorran jianping <ran.jianping@zte.com.cn>
Sun, 24 Apr 2022 06:54:06 +0000 (06:54 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:41:35 +0000 (23:41 -0400)
commit1f41c67961e9503925362d0dc25f89ae7facebd0
treec23e040807aa540d151d4042e6def102595b3cd8
parent76ca9ef5c0b9c1a74a93729e9682272a1edb423a
scsi: fnic: Remove unneeded flush_workqueue()

All work currently pending will be done first by calling
destroy_workqueue(). There is no need to flush it explicitly.

Link: https://lore.kernel.org/r/20220424065406.3228528-1-ran.jianping@zte.com.cn
Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: ran jianping <ran.jianping@zte.com.cn>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/fnic/fnic_main.c