linux-tegra.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: tegra: remove unused struct 'tegra_pcie_soc'
@ 2024-05-27 16:01 linux
  2024-05-28  6:36 ` Niklas Cassel
  2024-06-06 19:58 ` Bjorn Helgaas
  0 siblings, 2 replies; 3+ messages in thread
From: linux @ 2024-05-27 16:01 UTC (permalink / raw)
  To: lpieralisi, robh, thierry.reding
  Cc: linux-pci, linux-tegra, linux-kernel, Dr. David Alan Gilbert

From: "Dr. David Alan Gilbert" <linux@treblig.org>

'tegra_pcie_soc' has been unused since the initial
commit 56e15a238d92 ("PCI: tegra: Add Tegra194 PCIe support").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 drivers/pci/controller/dwc/pcie-tegra194.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c
index 93f5433c5c55..076f040ccc34 100644
--- a/drivers/pci/controller/dwc/pcie-tegra194.c
+++ b/drivers/pci/controller/dwc/pcie-tegra194.c
@@ -308,10 +308,6 @@ static inline u32 appl_readl(struct tegra_pcie_dw *pcie, const u32 reg)
 	return readl_relaxed(pcie->appl_base + reg);
 }
 
-struct tegra_pcie_soc {
-	enum dw_pcie_device_mode mode;
-};
-
 static void tegra_pcie_icc_set(struct tegra_pcie_dw *pcie)
 {
 	struct dw_pcie *pci = &pcie->pci;
-- 
2.45.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH] PCI: tegra: remove unused struct 'tegra_pcie_soc'
  2024-05-27 16:01 [PATCH] PCI: tegra: remove unused struct 'tegra_pcie_soc' linux
@ 2024-05-28  6:36 ` Niklas Cassel
  2024-06-06 19:58 ` Bjorn Helgaas
  1 sibling, 0 replies; 3+ messages in thread
From: Niklas Cassel @ 2024-05-28  6:36 UTC (permalink / raw)
  To: linux
  Cc: lpieralisi, robh, thierry.reding, linux-pci, linux-tegra,
	linux-kernel

On Mon, May 27, 2024 at 05:01:18PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'tegra_pcie_soc' has been unused since the initial
> commit 56e15a238d92 ("PCI: tegra: Add Tegra194 PCIe support").
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
> ---
>  drivers/pci/controller/dwc/pcie-tegra194.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c
> index 93f5433c5c55..076f040ccc34 100644
> --- a/drivers/pci/controller/dwc/pcie-tegra194.c
> +++ b/drivers/pci/controller/dwc/pcie-tegra194.c
> @@ -308,10 +308,6 @@ static inline u32 appl_readl(struct tegra_pcie_dw *pcie, const u32 reg)
>  	return readl_relaxed(pcie->appl_base + reg);
>  }
>  
> -struct tegra_pcie_soc {
> -	enum dw_pcie_device_mode mode;
> -};
> -
>  static void tegra_pcie_icc_set(struct tegra_pcie_dw *pcie)
>  {
>  	struct dw_pcie *pci = &pcie->pci;
> -- 
> 2.45.1
> 

Reviewed-by: Niklas Cassel <cassel@kernel.org>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH] PCI: tegra: remove unused struct 'tegra_pcie_soc'
  2024-05-27 16:01 [PATCH] PCI: tegra: remove unused struct 'tegra_pcie_soc' linux
  2024-05-28  6:36 ` Niklas Cassel
@ 2024-06-06 19:58 ` Bjorn Helgaas
  1 sibling, 0 replies; 3+ messages in thread
From: Bjorn Helgaas @ 2024-06-06 19:58 UTC (permalink / raw)
  To: linux
  Cc: lpieralisi, robh, thierry.reding, linux-pci, linux-tegra,
	linux-kernel

On Mon, May 27, 2024 at 05:01:18PM +0100, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'tegra_pcie_soc' has been unused since the initial
> commit 56e15a238d92 ("PCI: tegra: Add Tegra194 PCIe support").
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Applied with Niklas' reviewed-by to pci/controller/tegra194 for v6.11,
thanks!

> ---
>  drivers/pci/controller/dwc/pcie-tegra194.c | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/drivers/pci/controller/dwc/pcie-tegra194.c b/drivers/pci/controller/dwc/pcie-tegra194.c
> index 93f5433c5c55..076f040ccc34 100644
> --- a/drivers/pci/controller/dwc/pcie-tegra194.c
> +++ b/drivers/pci/controller/dwc/pcie-tegra194.c
> @@ -308,10 +308,6 @@ static inline u32 appl_readl(struct tegra_pcie_dw *pcie, const u32 reg)
>  	return readl_relaxed(pcie->appl_base + reg);
>  }
>  
> -struct tegra_pcie_soc {
> -	enum dw_pcie_device_mode mode;
> -};
> -
>  static void tegra_pcie_icc_set(struct tegra_pcie_dw *pcie)
>  {
>  	struct dw_pcie *pci = &pcie->pci;
> -- 
> 2.45.1
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-06-06 19:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-05-27 16:01 [PATCH] PCI: tegra: remove unused struct 'tegra_pcie_soc' linux
2024-05-28  6:36 ` Niklas Cassel
2024-06-06 19:58 ` Bjorn Helgaas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).