Commit a346f28a authored by Changcheng Deng's avatar Changcheng Deng Committed by Martin K. Petersen

scsi: lpfc: Remove unneeded variable

Remove unneeded variable 'rc' used to store return value.

Link: https://lore.kernel.org/r/20220419065750.2573861-1-deng.changcheng@zte.com.cnReported-by: default avatarZeal Robot <zealci@zte.com.cn>
Signed-off-by: default avatarChangcheng Deng <deng.changcheng@zte.com.cn>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 671a52f2
...@@ -3707,7 +3707,6 @@ lpfc_sli_process_sol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, ...@@ -3707,7 +3707,6 @@ lpfc_sli_process_sol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
struct lpfc_iocbq *saveq) struct lpfc_iocbq *saveq)
{ {
struct lpfc_iocbq *cmdiocbp; struct lpfc_iocbq *cmdiocbp;
int rc = 1;
unsigned long iflag; unsigned long iflag;
u32 ulp_command, ulp_status, ulp_word4, ulp_context, iotag; u32 ulp_command, ulp_status, ulp_word4, ulp_context, iotag;
...@@ -3847,7 +3846,7 @@ lpfc_sli_process_sol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring, ...@@ -3847,7 +3846,7 @@ lpfc_sli_process_sol_iocb(struct lpfc_hba *phba, struct lpfc_sli_ring *pring,
} }
} }
return rc; return 1;
} }
/** /**
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment