[PATCH] PCI: imx6: Remove unused assignment to variable ret

Lorenzo Pieralisi lorenzo.pieralisi at arm.com
Tue Oct 5 02:06:06 PDT 2021


On Sun, 3 Oct 2021 02:54:39 +0000, Krzysztof Wilczyński wrote:
> Previously, the maximum link speed was set following an "fsl,max-link-speed"
> property read, and should the read failed, then the PCIe generation was
> manually set to PCIe Gen1 and thus limiting the link speed to 2.5 GT/s.
> 
> Code refactoring completed in the commit 39bc5006501c ("PCI: dwc:
> Centralize link gen setting") changed to the logic that was previously
> used to limit the maximum link speed leaving behind an unused assignment
> to a variable "ret".
> 
> [...]

Applied to pci/imx6, thanks!

[1/1] PCI: imx6: Remove unused assignment to variable ret
      https://git.kernel.org/lpieralisi/pci/c/65315ec52c

Thanks,
Lorenzo



More information about the linux-arm-kernel mailing list