diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-08-22 21:59:10 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-08-23 03:28:56 +0200 |
commit | d77381c2f62a557f630a64280ff09675128be363 (patch) | |
tree | 9a3bb943e110c4885d4db4150f4afc162e9eab1e /include/scsi | |
parent | scsi: esas2r: Simplify an alloc_ordered_workqueue() invocation (diff) | |
download | linux-d77381c2f62a557f630a64280ff09675128be363.tar.xz linux-d77381c2f62a557f630a64280ff09675128be363.zip |
scsi: fcoe: Simplify alloc_ordered_workqueue() invocations
Let alloc_ordered_workqueue() format the workqueue name instead of calling
snprintf() explicitly.
Reviewed-by: Hannes Reinecke <hare@suse.de>
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
Link: https://lore.kernel.org/r/20240822195944.654691-7-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'include/scsi')
-rw-r--r-- | include/scsi/fcoe_sysfs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/scsi/fcoe_sysfs.h b/include/scsi/fcoe_sysfs.h index 4b1216de3f22..2b28a05e492b 100644 --- a/include/scsi/fcoe_sysfs.h +++ b/include/scsi/fcoe_sysfs.h @@ -50,9 +50,7 @@ struct fcoe_ctlr_device { struct fcoe_sysfs_function_template *f; struct list_head fcfs; - char work_q_name[20]; struct workqueue_struct *work_q; - char devloss_work_q_name[20]; struct workqueue_struct *devloss_work_q; struct mutex lock; |