diff mbox

[v2] ioh3420: Remove unused ioh3420_init() declaration

Message ID 1408969231-3156-1-git-send-email-arei.gonglei@huawei.com
State New
Headers show

Commit Message

Gonglei (Arei) Aug. 25, 2014, 12:20 p.m. UTC
From: Gonglei <arei.gonglei@huawei.com>

This patch based on Knut's patch:

ioh3420: Remove unused ioh3420_init() declaration

which has been pulled on the fly.

Signed-off-by: Gonglei <arei.gonglei@huawei.com>
Reviewed-by: Knut Omang <knut.omang@oracle.com>
---
v2:
 - add commit message to state the patch's prerequisites.
 - add 'Reviewed-by' tag
---
 hw/pci-bridge/ioh3420.h | 4 ----
 1 file changed, 4 deletions(-)

Comments

Gonglei (Arei) Sept. 1, 2014, 1:44 a.m. UTC | #1
Hi, Michael

Do you plan to pick up this patch? Thanks.

Best regards,
-Gonglei

> -----Original Message-----
> From: Gonglei (Arei)
> Sent: Monday, August 25, 2014 8:21 PM
> To: qemu-devel@nongnu.org
> Cc: mst@redhat.com; Huangweidong (C); knut.omang@oracle.com;
> armbru@redhat.com; Gonglei (Arei)
> Subject: [PATCH v2] ioh3420: Remove unused ioh3420_init() declaration
> 
> From: Gonglei <arei.gonglei@huawei.com>
> 
> This patch based on Knut's patch:
> 
> ioh3420: Remove unused ioh3420_init() declaration
> 
> which has been pulled on the fly.
> 
> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> Reviewed-by: Knut Omang <knut.omang@oracle.com>
> ---
> v2:
>  - add commit message to state the patch's prerequisites.
>  - add 'Reviewed-by' tag
> ---
>  hw/pci-bridge/ioh3420.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/hw/pci-bridge/ioh3420.h b/hw/pci-bridge/ioh3420.h
> index 7776e5b..ea423cb 100644
> --- a/hw/pci-bridge/ioh3420.h
> +++ b/hw/pci-bridge/ioh3420.h
> @@ -3,8 +3,4 @@
> 
>  #include "hw/pci/pcie_port.h"
> 
> -PCIESlot *ioh3420_init(PCIBus *bus, int devfn, bool multifunction,
> -                       const char *bus_name, pci_map_irq_fn map_irq,
> -                       uint8_t port, uint8_t chassis, uint16_t slot);
> -
>  #endif /* QEMU_IOH3420_H */
> --
> 1.7.12.4
>
Michael S. Tsirkin Sept. 1, 2014, 6:45 a.m. UTC | #2
On Mon, Aug 25, 2014 at 08:20:31PM +0800, arei.gonglei@huawei.com wrote:
> From: Gonglei <arei.gonglei@huawei.com>
> 
> This patch based on Knut's patch:
> 
> ioh3420: Remove unused ioh3420_init() declaration
> 
> which has been pulled on the fly.
> 
> Signed-off-by: Gonglei <arei.gonglei@huawei.com>
> Reviewed-by: Knut Omang <knut.omang@oracle.com>

Applied.

> ---
> v2:
>  - add commit message to state the patch's prerequisites.
>  - add 'Reviewed-by' tag
> ---
>  hw/pci-bridge/ioh3420.h | 4 ----
>  1 file changed, 4 deletions(-)
> 
> diff --git a/hw/pci-bridge/ioh3420.h b/hw/pci-bridge/ioh3420.h
> index 7776e5b..ea423cb 100644
> --- a/hw/pci-bridge/ioh3420.h
> +++ b/hw/pci-bridge/ioh3420.h
> @@ -3,8 +3,4 @@
>  
>  #include "hw/pci/pcie_port.h"
>  
> -PCIESlot *ioh3420_init(PCIBus *bus, int devfn, bool multifunction,
> -                       const char *bus_name, pci_map_irq_fn map_irq,
> -                       uint8_t port, uint8_t chassis, uint16_t slot);
> -
>  #endif /* QEMU_IOH3420_H */
> -- 
> 1.7.12.4
>
diff mbox

Patch

diff --git a/hw/pci-bridge/ioh3420.h b/hw/pci-bridge/ioh3420.h
index 7776e5b..ea423cb 100644
--- a/hw/pci-bridge/ioh3420.h
+++ b/hw/pci-bridge/ioh3420.h
@@ -3,8 +3,4 @@ 
 
 #include "hw/pci/pcie_port.h"
 
-PCIESlot *ioh3420_init(PCIBus *bus, int devfn, bool multifunction,
-                       const char *bus_name, pci_map_irq_fn map_irq,
-                       uint8_t port, uint8_t chassis, uint16_t slot);
-
 #endif /* QEMU_IOH3420_H */