OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4c0df60
)
scsi: qla2xxx: Remove unneeded flush_workqueue()
author
ran jianping
<ran.jianping@zte.com.cn>
Sun, 24 Apr 2022 06:24:13 +0000
(06:24 +0000)
committer
Martin K. Petersen
<martin.petersen@oracle.com>
Tue, 26 Apr 2022 03:40:26 +0000
(23:40 -0400)
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/20220424062413.3220315-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/qla2xxx/qla_os.c
patch
|
blob
|
history
diff --git
a/drivers/scsi/qla2xxx/qla_os.c
b/drivers/scsi/qla2xxx/qla_os.c
index
762229d
..
73073fb
100644
(file)
--- a/
drivers/scsi/qla2xxx/qla_os.c
+++ b/
drivers/scsi/qla2xxx/qla_os.c
@@
-3933,7
+3933,6
@@
qla2x00_free_device(scsi_qla_host_t *vha)
/* Flush the work queue and remove it */
if (ha->wq) {
- flush_workqueue(ha->wq);
destroy_workqueue(ha->wq);
ha->wq = NULL;
}