File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -3607,11 +3607,10 @@ static void qla2x00_send_notify_ack_iocb(srb_t *sp,
3607
3607
/*
3608
3608
* Build NVME LS request
3609
3609
*/
3610
- static int
3610
+ static void
3611
3611
qla_nvme_ls (srb_t * sp , struct pt_ls4_request * cmd_pkt )
3612
3612
{
3613
3613
struct srb_iocb * nvme ;
3614
- int rval = QLA_SUCCESS ;
3615
3614
3616
3615
nvme = & sp -> u .iocb_cmd ;
3617
3616
cmd_pkt -> entry_type = PT_LS4_REQUEST ;
@@ -3631,8 +3630,6 @@ qla_nvme_ls(srb_t *sp, struct pt_ls4_request *cmd_pkt)
3631
3630
cmd_pkt -> rx_byte_count = cpu_to_le32 (nvme -> u .nvme .rsp_len );
3632
3631
cmd_pkt -> dsd [1 ].length = cpu_to_le32 (nvme -> u .nvme .rsp_len );
3633
3632
put_unaligned_le64 (nvme -> u .nvme .rsp_dma , & cmd_pkt -> dsd [1 ].address );
3634
-
3635
- return rval ;
3636
3633
}
3637
3634
3638
3635
static void
You can’t perform that action at this time.
0 commit comments