diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-05 19:28:50 +0300 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2021-11-05 19:28:50 +0300 |
commit | 1f42bc19bb12f8caa8f16df5dfa3e129c151360f (patch) | |
tree | 4492680beaad6bf49e6ebd3a91a331a1bdeeb019 /drivers/pci | |
parent | fd6c10ca26f5dd02bebc131bca6cad8b182bd6df (diff) | |
parent | 65315ec52c9bd518e22fde1c9ce1e787b9122b4a (diff) | |
download | linux-1f42bc19bb12f8caa8f16df5dfa3e129c151360f.tar.xz |
Merge branch 'remotes/lorenzo/pci/imx6'
- Remove unused assignment (Krzysztof WilczyĆski)
* remotes/lorenzo/pci/imx6:
PCI: imx6: Remove unused assignment to variable ret
Diffstat (limited to 'drivers/pci')
-rw-r--r-- | drivers/pci/controller/dwc/pci-imx6.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c index 80fc98acf097..26f49f797b0f 100644 --- a/drivers/pci/controller/dwc/pci-imx6.c +++ b/drivers/pci/controller/dwc/pci-imx6.c @@ -1132,7 +1132,7 @@ static int imx6_pcie_probe(struct platform_device *pdev) /* Limit link speed */ pci->link_gen = 1; - ret = of_property_read_u32(node, "fsl,max-link-speed", &pci->link_gen); + of_property_read_u32(node, "fsl,max-link-speed", &pci->link_gen); imx6_pcie->vpcie = devm_regulator_get_optional(&pdev->dev, "vpcie"); if (IS_ERR(imx6_pcie->vpcie)) { |