File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -5528,7 +5528,6 @@ static int beiscsi_dev_probe(struct pci_dev *pcidev,
5528
5528
struct beiscsi_hba * phba = NULL ;
5529
5529
struct be_eq_obj * pbe_eq ;
5530
5530
unsigned int s_handle ;
5531
- char wq_name [20 ];
5532
5531
int ret , i ;
5533
5532
5534
5533
ret = beiscsi_enable_pci (pcidev );
@@ -5634,9 +5633,8 @@ static int beiscsi_dev_probe(struct pci_dev *pcidev,
5634
5633
5635
5634
phba -> ctrl .mcc_alloc_index = phba -> ctrl .mcc_free_index = 0 ;
5636
5635
5637
- snprintf (wq_name , sizeof (wq_name ), "beiscsi_%02x_wq" ,
5638
- phba -> shost -> host_no );
5639
- phba -> wq = alloc_workqueue ("%s" , WQ_MEM_RECLAIM , 1 , wq_name );
5636
+ phba -> wq = alloc_workqueue ("beiscsi_%02x_wq" , WQ_MEM_RECLAIM , 1 ,
5637
+ phba -> shost -> host_no );
5640
5638
if (!phba -> wq ) {
5641
5639
beiscsi_log (phba , KERN_ERR , BEISCSI_LOG_INIT ,
5642
5640
"BM_%d : beiscsi_dev_probe-"
You can’t perform that action at this time.
0 commit comments