2022-10-28 16:31:31

by Frank Li

[permalink] [raw]
Subject: [PATCH v14 4/7] PCI: endpoint: pci-epf-vntb: remove unused field epf_db_phy

From: Frank Li <[email protected]>

None use epf_db_phy and remove it.

Signed-off-by: Frank Li <[email protected]>
---
drivers/pci/endpoint/functions/pci-epf-vntb.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/pci/endpoint/functions/pci-epf-vntb.c b/drivers/pci/endpoint/functions/pci-epf-vntb.c
index 191924a83454..ee66101cb5c4 100644
--- a/drivers/pci/endpoint/functions/pci-epf-vntb.c
+++ b/drivers/pci/endpoint/functions/pci-epf-vntb.c
@@ -136,7 +136,6 @@ struct epf_ntb {

struct epf_ntb_ctrl *reg;

- phys_addr_t epf_db_phy;
void __iomem *epf_db;

phys_addr_t vpci_mw_phy[MAX_MW];
--
2.34.1



2022-11-01 13:14:08

by Manivannan Sadhasivam

[permalink] [raw]
Subject: Re: [PATCH v14 4/7] PCI: endpoint: pci-epf-vntb: remove unused field epf_db_phy

On Fri, Oct 28, 2022 at 11:57:00AM -0400, Frank Li wrote:
> From: Frank Li <[email protected]>
>
> None use epf_db_phy and remove it.

"epf_db_phy is not used, so remove it"

>
> Signed-off-by: Frank Li <[email protected]>

With that,

Acked-by: Manivannan Sadhasivam <[email protected]>

Thanks,
Mani

> ---
> drivers/pci/endpoint/functions/pci-epf-vntb.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/pci/endpoint/functions/pci-epf-vntb.c b/drivers/pci/endpoint/functions/pci-epf-vntb.c
> index 191924a83454..ee66101cb5c4 100644
> --- a/drivers/pci/endpoint/functions/pci-epf-vntb.c
> +++ b/drivers/pci/endpoint/functions/pci-epf-vntb.c
> @@ -136,7 +136,6 @@ struct epf_ntb {
>
> struct epf_ntb_ctrl *reg;
>
> - phys_addr_t epf_db_phy;
> void __iomem *epf_db;
>
> phys_addr_t vpci_mw_phy[MAX_MW];
> --
> 2.34.1
>

--
மணிவண்ணன் சதாசிவம்