summaryrefslogtreecommitdiff
path: root/drivers/pci/controller/dwc
diff options
context:
space:
mode:
authorOm Prakash Singh <omp@nvidia.com>2021-06-23 13:05:25 +0300
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2021-08-04 14:28:17 +0300
commitf62750e6918d2ac39ffe019249d2247ff0ac308d (patch)
tree277121840db20ea7d3769be8e008318e5bc9b441 /drivers/pci/controller/dwc
parentde2bbf2b71bb994b2bbe5965e25dc06df83c5128 (diff)
downloadlinux-f62750e6918d2ac39ffe019249d2247ff0ac308d.tar.xz
PCI: tegra194: Cleanup unused code
Remove unused code from function tegra_pcie_config_ep. Link: https://lore.kernel.org/r/20210623100525.19944-6-omp@nvidia.com Signed-off-by: Om Prakash Singh <omp@nvidia.com> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Reviewed-by: Bjorn Helgaas <bhelgaas@google.com> Acked-by: Vidya Sagar <vidyas@nvidia.com>
Diffstat (limited to 'drivers/pci/controller/dwc')
-rw-r--r--drivers/pci/controller/dwc/pcie-tegra194.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c
index 2d86e947bf1f..904976913081 100644
--- a/drivers/pci/controller/dwc/pcie-tegra194.c
+++ b/drivers/pci/controller/dwc/pcie-tegra194.c
@@ -1945,13 +1945,6 @@ static int tegra_pcie_config_ep(struct tegra_pcie_dw *pcie,
return ret;
}
- name = devm_kasprintf(dev, GFP_KERNEL, "tegra_pcie_%u_ep_work",
- pcie->cid);
- if (!name) {
- dev_err(dev, "Failed to create PCIe EP work thread string\n");
- return -ENOMEM;
- }
-
pm_runtime_enable(dev);
ret = dw_pcie_ep_init(ep);