Re: [PATCH] scsi: qla2xxx: Remove unnecessary self assignment

From: Martin K. Petersen
Date: Tue Oct 16 2018 - 18:20:27 EST



Nathan,

> Clang warns when a variable is assigned to itself.
>
> drivers/scsi/qla2xxx/qla_mbx.c:1514:4: warning: explicitly assigning
> value of variable of type 'uint64_t' (aka 'unsigned long long') to
> itself [-Wself-assign]
> l = l;
> ~ ^ ~
> 1 warning generated.

Applied to 4.20/scsi-queue, thanks!

--
Martin K. Petersen Oracle Linux Engineering