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)
commit671a52f2aeafe2f42bddb53dcfe3933b1f641843
treec23e040807aa540d151d4042e6def102595b3cd8
parentcf97628fe1a1f25f3a5617fa10619d7bef904da1
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