[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v3 07/21] pci core: function pci_bus_init() cleanup
From: |
Michael S. Tsirkin |
Subject: |
[Qemu-devel] [PULL v3 07/21] pci core: function pci_bus_init() cleanup |
Date: |
Thu, 25 Feb 2016 13:20:40 +0200 |
From: Cao jin <address@hidden>
remove unused param
Signed-off-by: Cao jin <address@hidden>
Reviewed-by: Michael S. Tsirkin <address@hidden>
Signed-off-by: Michael S. Tsirkin <address@hidden>
Reviewed-by: Eduardo Habkost <address@hidden>
---
hw/pci/pci.c | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/hw/pci/pci.c b/hw/pci/pci.c
index b071361..e67664d 100644
--- a/hw/pci/pci.c
+++ b/hw/pci/pci.c
@@ -331,7 +331,6 @@ const char *pci_root_bus_path(PCIDevice *dev)
}
static void pci_bus_init(PCIBus *bus, DeviceState *parent,
- const char *name,
MemoryRegion *address_space_mem,
MemoryRegion *address_space_io,
uint8_t devfn_min)
@@ -364,8 +363,7 @@ void pci_bus_new_inplace(PCIBus *bus, size_t bus_size,
DeviceState *parent,
uint8_t devfn_min, const char *typename)
{
qbus_create_inplace(bus, bus_size, typename, parent, name);
- pci_bus_init(bus, parent, name, address_space_mem,
- address_space_io, devfn_min);
+ pci_bus_init(bus, parent, address_space_mem, address_space_io, devfn_min);
}
PCIBus *pci_bus_new(DeviceState *parent, const char *name,
@@ -376,8 +374,7 @@ PCIBus *pci_bus_new(DeviceState *parent, const char *name,
PCIBus *bus;
bus = PCI_BUS(qbus_create(typename, parent, name));
- pci_bus_init(bus, parent, name, address_space_mem,
- address_space_io, devfn_min);
+ pci_bus_init(bus, parent, address_space_mem, address_space_io, devfn_min);
return bus;
}
--
MST
- [Qemu-devel] [PULL v3 00/21] vhost, virtio, pci, pc, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 02/21] vhost-user: don't merge regions with different fds, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 03/21] move get_current_ram_size to virtio-balloon.c, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 01/21] bios-linker-loader: document+validate input, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 04/21] virtio-balloon: rewrite get_current_ram_size(), Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 05/21] balloon: Use only 'pc-dimm' type dimm for ballooning, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 06/21] pci core: function pci_host_bus_register() cleanup, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 07/21] pci core: function pci_bus_init() cleanup,
Michael S. Tsirkin <=
- [Qemu-devel] [PULL v3 10/21] virtio: add AioContext-specific function for host notifiers, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 11/21] virtio: export vring_notify as virtio_should_notify, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 09/21] vring: make vring_enable_notification return void, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 08/21] block-migration: acquire AioContext as necessary, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 12/21] virtio-blk: fix "disabled data plane" mode, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 14/21] virtio-scsi: do not use vring in dataplane, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 13/21] virtio-blk: do not use vring in dataplane, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 15/21] vring: remove, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 16/21] tests/vhost-user-bridge: fix build on 32 bit systems, Michael S. Tsirkin, 2016/02/25
- [Qemu-devel] [PULL v3 17/21] q35: Remove old machine versions, Michael S. Tsirkin, 2016/02/25