diff options
author | Bart Van Assche <bvanassche@acm.org> | 2024-08-22 21:59:14 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2024-08-23 03:28:56 +0200 |
commit | c57a617fd53fae6fcfa7d1737adfee209b8051ca (patch) | |
tree | 9707fa4e41193edae4c1676e9d4add69e38c6806 /drivers/scsi/myrb.h | |
parent | scsi: mpt3sas: Simplify an alloc_ordered_workqueue() invocation (diff) | |
download | linux-c57a617fd53fae6fcfa7d1737adfee209b8051ca.tar.xz linux-c57a617fd53fae6fcfa7d1737adfee209b8051ca.zip |
scsi: myrb: Simplify an alloc_ordered_workqueue() invocation
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-11-bvanassche@acm.org
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/myrb.h')
-rw-r--r-- | drivers/scsi/myrb.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/myrb.h b/drivers/scsi/myrb.h index fb8eacfceee8..78dc4136fb10 100644 --- a/drivers/scsi/myrb.h +++ b/drivers/scsi/myrb.h @@ -712,7 +712,6 @@ struct myrb_hba { struct Scsi_Host *host; 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; |