Skip to content

Commit f62750e

Browse files
Om Prakash SinghLorenzo Pieralisi
authored andcommitted
PCI: tegra194: Cleanup unused code
Remove unused code from function tegra_pcie_config_ep. Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Om Prakash Singh <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Reviewed-by: Bjorn Helgaas <[email protected]> Acked-by: Vidya Sagar <[email protected]>
1 parent de2bbf2 commit f62750e

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

drivers/pci/controller/dwc/pcie-tegra194.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1945,13 +1945,6 @@ static int tegra_pcie_config_ep(struct tegra_pcie_dw *pcie,
19451945
return ret;
19461946
}
19471947

1948-
name = devm_kasprintf(dev, GFP_KERNEL, "tegra_pcie_%u_ep_work",
1949-
pcie->cid);
1950-
if (!name) {
1951-
dev_err(dev, "Failed to create PCIe EP work thread string\n");
1952-
return -ENOMEM;
1953-
}
1954-
19551948
pm_runtime_enable(dev);
19561949

19571950
ret = dw_pcie_ep_init(ep);

0 commit comments

Comments
 (0)