[PATCH -next] xen-pciback: Remove unused function declarations

Yue Haibing posted 1 patch 8 months, 4 weeks ago
Failed in applying to current master (apply log)
drivers/xen/xen-pciback/conf_space_quirks.h | 2 --
drivers/xen/xen-pciback/pciback.h           | 3 ---
2 files changed, 5 deletions(-)
[PATCH -next] xen-pciback: Remove unused function declarations
Posted by Yue Haibing 8 months, 4 weeks ago
Commit a92336a1176b ("xen/pciback: Drop two backends, squash and cleanup some code.")
declared but never implemented these functions.

Signed-off-by: Yue Haibing <yuehaibing@huawei.com>
---
 drivers/xen/xen-pciback/conf_space_quirks.h | 2 --
 drivers/xen/xen-pciback/pciback.h           | 3 ---
 2 files changed, 5 deletions(-)

diff --git a/drivers/xen/xen-pciback/conf_space_quirks.h b/drivers/xen/xen-pciback/conf_space_quirks.h
index d873abe35bf6..fc1557dfef49 100644
--- a/drivers/xen/xen-pciback/conf_space_quirks.h
+++ b/drivers/xen/xen-pciback/conf_space_quirks.h
@@ -21,8 +21,6 @@ struct xen_pcibk_config_quirk {
 int xen_pcibk_config_quirks_add_field(struct pci_dev *dev, struct config_field
 				    *field);
 
-int xen_pcibk_config_quirks_remove_field(struct pci_dev *dev, int reg);
-
 int xen_pcibk_config_quirks_init(struct pci_dev *dev);
 
 void xen_pcibk_config_field_free(struct config_field *field);
diff --git a/drivers/xen/xen-pciback/pciback.h b/drivers/xen/xen-pciback/pciback.h
index 9a64196e831d..f9599ed2f2e2 100644
--- a/drivers/xen/xen-pciback/pciback.h
+++ b/drivers/xen/xen-pciback/pciback.h
@@ -201,6 +201,3 @@ static inline void xen_pcibk_lateeoi(struct xen_pcibk_device *pdev,
 int xen_pcibk_xenbus_register(void);
 void xen_pcibk_xenbus_unregister(void);
 #endif
-
-/* Handles shared IRQs that can to device domain and control domain. */
-void xen_pcibk_irq_handler(struct pci_dev *dev, int reset);
-- 
2.34.1
Re: [PATCH -next] xen-pciback: Remove unused function declarations
Posted by Juergen Gross 8 months, 2 weeks ago
On 08.08.23 17:09, Yue Haibing wrote:
> Commit a92336a1176b ("xen/pciback: Drop two backends, squash and cleanup some code.")
> declared but never implemented these functions.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Pushed to xen/tip.git for-linus-6.6


Juergen

Re: [PATCH -next] xen-pciback: Remove unused function declarations
Posted by Juergen Gross 8 months, 3 weeks ago
On 08.08.23 17:09, Yue Haibing wrote:
> Commit a92336a1176b ("xen/pciback: Drop two backends, squash and cleanup some code.")
> declared but never implemented these functions.
> 
> Signed-off-by: Yue Haibing <yuehaibing@huawei.com>

Reviewed-by: Juergen Gross <jgross@suse.com>


Juergen