summaryrefslogtreecommitdiffstats
path: root/include/scsi
diff options
context:
space:
mode:
authorBart Van Assche <bvanassche@acm.org>2024-08-22 12:59:10 -0700
committerMartin K. Petersen <martin.petersen@oracle.com>2024-08-22 21:28:56 -0400
commitd77381c2f62a557f630a64280ff09675128be363 (patch)
tree9a3bb943e110c4885d4db4150f4afc162e9eab1e /include/scsi
parent4cb1b41a5ee4c513897441bda42d56673b0c6edb (diff)
downloadlinux-d77381c2f62a557f630a64280ff09675128be363.tar.gz
linux-d77381c2f62a557f630a64280ff09675128be363.tar.bz2
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.h2
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;