[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20210527074614.49149-3-omp@nvidia.com>
Date: Thu, 27 May 2021 13:16:09 +0530
From: Om Prakash Singh <omp@...dia.com>
To: <vidyas@...dia.com>, <lorenzo.pieralisi@....com>,
<bhelgaas@...gle.com>, <thierry.reding@...il.com>,
<jonathanh@...dia.com>
CC: <linux-tegra@...r.kernel.org>, <linux-pci@...r.kernel.org>,
<linux-kernel@...r.kernel.org>, <kthota@...dia.com>,
<mmaddireddy@...dia.com>, Om Prakash Singh <omp@...dia.com>
Subject: [PATCH] PCI: tegra: Cleanup unused code
Remove unused code from function tegra_pcie_config_ep.
Signed-off-by: Om Prakash Singh <omp@...dia.com>
---
drivers/pci/controller/dwc/pcie-tegra194.c | 7 -------
1 file changed, 7 deletions(-)
diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c
index 93c89f2084a7..096aa5306fda 100644
--- a/drivers/pci/controller/dwc/pcie-tegra194.c
+++ b/drivers/pci/controller/dwc/pcie-tegra194.c
@@ -2045,13 +2045,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);
--
2.17.1
Powered by blists - more mailing lists