Re: [PATCH] scsi:elx: fix cond_no_effect.cocci warnings

From: Martin K. Petersen
Date: Mon Nov 29 2021 - 23:30:50 EST



> From: chiminghao <chi.minghao@xxxxxxxxxx>
>
> Fix the following coccicheck WARNING:
> ./drivers/scsi/elx/libefc_sli/sli4.c, 2320, 2-4, WARNING
> possible condition with no effect (if == else)

The patch attribution is confusing.

Patch was submitted by <cgel.zte@xxxxxxxxx> but there is no signoff tag
reflecting this.

> Reported-by: Zeal Robot <zealci@xxxxxxxxxx>

.cm?

> Signed-off-by: chiminghao <chi.minghao@xxxxxxxxxx>

--
Martin K. Petersen Oracle Linux Engineering