Re: [PATCH] scsi: lpfc: Remove unneeded return variable

2021-02-04 Thread Johannes Thumshirn
On 04/02/2021 08:37, Yang Li wrote: > This patch removes unneeded return variables, using only > '1' instead. > It fixes the following warning detected by coccinelle: > > Reported-by: Abaci Robot > Signed-off-by: Yang Li > --- > drivers/scsi/lpfc/lpfc_sli.c | 3 +-- > 1 file changed, 1

[PATCH] scsi: lpfc: Remove unneeded return variable

2021-02-03 Thread Yang Li
This patch removes unneeded return variables, using only '1' instead. It fixes the following warning detected by coccinelle: Reported-by: Abaci Robot Signed-off-by: Yang Li --- drivers/scsi/lpfc/lpfc_sli.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git