diff mbox series

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

Message ID 20230808150912.43416-1-yuehaibing@huawei.com (mailing list archive)
State Accepted
Commit 3e0d473dcb688905dc443f3cfe986fa44b5fe8c4
Headers show
Series [-next] xen-pciback: Remove unused function declarations | expand

Commit Message

Yue Haibing Aug. 8, 2023, 3:09 p.m. UTC
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(-)

Comments

Jürgen Groß Aug. 11, 2023, 2:49 p.m. UTC | #1
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
Jürgen Groß Aug. 22, 2023, 5:50 a.m. UTC | #2
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
diff mbox series

Patch

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);