Re: [PATCH] PCI: versatile: Remove redundant variable retval

From: Lorenzo Pieralisi
Date: Thu Apr 28 2022 - 05:58:13 EST


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