summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/myrs.h
diff options
context:
space:
mode:
authorMartin K. Petersen <martin.petersen@oracle.com>2024-08-23 03:30:06 +0200
committerMartin K. Petersen <martin.petersen@oracle.com>2024-08-23 03:30:06 +0200
commit70302fc7adcd29c4c744489cd89e2d3ed08ecd8d (patch)
tree0837768fb2eccc4622f6da43407ee8487981c5aa /drivers/scsi/myrs.h
parentscsi: target: Remove unused declarations (diff)
parentscsi: core: Simplify an alloc_workqueue() invocation (diff)
downloadlinux-70302fc7adcd29c4c744489cd89e2d3ed08ecd8d.tar.xz
linux-70302fc7adcd29c4c744489cd89e2d3ed08ecd8d.zip
Merge patch series "Simplify multiple create*_workqueue() invocations"
Bart Van Assche <bvanassche@acm.org> says: Hi Martin, Multiple SCSI drivers use snprintf() to format a workqueue name before invoking one of the create*_workqueue() macros. This patch series simplifies such code by passing the format string and arguments to alloc_workqueue(). Additionally, the structure members that are only used as a temporary buffer for formatting workqueue names are removed. Please consider this patch series for the next merge window. Thanks, Bart. Link: https://lore.kernel.org/r/20240822195944.654691-1-bvanassche@acm.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/myrs.h')
-rw-r--r--drivers/scsi/myrs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/myrs.h b/drivers/scsi/myrs.h
index 9f6696d0ddd5..e1d6b123de7b 100644
--- a/drivers/scsi/myrs.h
+++ b/drivers/scsi/myrs.h
@@ -904,7 +904,6 @@ struct myrs_hba {
bool disable_enc_msg;
struct workqueue_struct *work_q;
- char work_q_name[20];
struct delayed_work monitor_work;
unsigned long primary_monitor_time;
unsigned long secondary_monitor_time;