]> 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)
commiteaf4997cf67002c48d87d0013526dd3bb4d3fd47
treec23e040807aa540d151d4042e6def102595b3cd8
parentfa5e1050551b1bd21a703d4ab5cedfcaba9c5ded
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