diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-08-22 12:59:22 -0700 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-08-22 21:28:57 -0400 |
commit | ba52850cb6b4db5f4ec4636c73d2ad85d0e9adba (patch) | |
tree | c6cd4789341e127500b7b7270970e676ca1e69e8 /include/scsi | |
parent | 1aa992cbc272beceba40ae39b33b2848c228c0c9 (diff) | |
download | linux-stable-ba52850cb6b4db5f4ec4636c73d2ad85d0e9adba.tar.gz linux-stable-ba52850cb6b4db5f4ec4636c73d2ad85d0e9adba.tar.bz2 linux-stable-ba52850cb6b4db5f4ec4636c73d2ad85d0e9adba.zip |
scsi: core: Simplify an alloc_workqueue() invocation
Let alloc_workqueue() format the workqueue name. Remove the
work_q_name[] member from struct Scsi_Host because it is no longer
used by any SCSI driver nor by the SCSI core.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240822195944.654691-19-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/scsi_host.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/scsi/scsi_host.h b/include/scsi/scsi_host.h index 19a1c5c48935..2b4ab0369ffb 100644 --- a/include/scsi/scsi_host.h +++ b/include/scsi/scsi_host.h @@ -677,7 +677,6 @@ struct Scsi_Host { /* * Optional work queue to be utilized by the transport */ - char work_q_name[20]; struct workqueue_struct *work_q; /* |