scsi: snic: Simplify alloc_workqueue() invocations
authorBart Van Assche <bvanassche@acm.org>
Thu, 22 Aug 2024 19:59:18 +0000 (12:59 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 23 Aug 2024 01:28:56 +0000 (21:28 -0400)
commit6411307b63286eff7c5c72a8ad64796ae8549101
tree700978f4ede79b271ab8c39b32914230f1bb56a7
parent19d7cda1c6304e032c1f7cd0ff3e6b5dc29f76dd
scsi: snic: Simplify alloc_workqueue() invocations

Let alloc_workqueue() format the workqueue name instead of calling
snprintf() explicitly. Not setting shost->work_q_name is safe because
there is no code that reads the value set by the removed code.

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240822195944.654691-15-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/snic/snic_main.c