[PATCH] PCI: versatile: Remove redundant variable retval
Lorenzo Pieralisi
lorenzo.pieralisi at arm.com
Thu Apr 28 02:48:06 PDT 2022
On Mon, 18 Apr 2022 15:44:16 +0100, Colin Ian King wrote:
> Variable retval is being assigned a value that is never read, the
> variable is redundant and can be removed.
>
> Cleans up clang scan build warning:
> drivers/pci/controller/pci-versatile.c:37:10: warning: Although the value
> stored to 'retval' is used in the enclosing expression, the value is never
> actually read from 'retval' [deadcode.DeadStores]
>
> [...]
Applied to pci/versatile, thanks!
[1/1] PCI: versatile: Remove redundant variable retval
https://git.kernel.org/lpieralisi/pci/c/6086987bde
Thanks,
Lorenzo
More information about the linux-arm-kernel
mailing list