File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed
drivers/infiniband/hw/irdma Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change @@ -1169,7 +1169,6 @@ static enum irdma_status_code irdma_create_ceq(struct irdma_pci_f *rf,
11691169 enum irdma_status_code status ;
11701170 struct irdma_ceq_init_info info = {};
11711171 struct irdma_sc_dev * dev = & rf -> sc_dev ;
1172- u64 scratch ;
11731172 u32 ceq_size ;
11741173
11751174 info .ceq_id = ceq_id ;
@@ -1190,14 +1189,13 @@ static enum irdma_status_code irdma_create_ceq(struct irdma_pci_f *rf,
11901189 iwceq -> sc_ceq .ceq_id = ceq_id ;
11911190 info .dev = dev ;
11921191 info .vsi = vsi ;
1193- scratch = (uintptr_t )& rf -> cqp .sc_cqp ;
11941192 status = irdma_sc_ceq_init (& iwceq -> sc_ceq , & info );
11951193 if (!status ) {
11961194 if (dev -> ceq_valid )
11971195 status = irdma_cqp_ceq_cmd (& rf -> sc_dev , & iwceq -> sc_ceq ,
11981196 IRDMA_OP_CEQ_CREATE );
11991197 else
1200- status = irdma_sc_cceq_create (& iwceq -> sc_ceq , scratch );
1198+ status = irdma_sc_cceq_create (& iwceq -> sc_ceq , 0 );
12011199 }
12021200
12031201 if (status ) {
You can’t perform that action at this time.
0 commit comments