Skip to content

Commit 1f42bc1

Browse files
committed
Merge branch 'remotes/lorenzo/pci/imx6'
- Remove unused assignment (Krzysztof Wilczyński) * remotes/lorenzo/pci/imx6: PCI: imx6: Remove unused assignment to variable ret
2 parents fd6c10c + 65315ec commit 1f42bc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/pci/controller/dwc/pci-imx6.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ static int imx6_pcie_probe(struct platform_device *pdev)
11321132

11331133
/* Limit link speed */
11341134
pci->link_gen = 1;
1135-
ret = of_property_read_u32(node, "fsl,max-link-speed", &pci->link_gen);
1135+
of_property_read_u32(node, "fsl,max-link-speed", &pci->link_gen);
11361136

11371137
imx6_pcie->vpcie = devm_regulator_get_optional(&pdev->dev, "vpcie");
11381138
if (IS_ERR(imx6_pcie->vpcie)) {

0 commit comments

Comments
 (0)